Created
January 8, 2013 17:18
-
-
Save solmsted/4485752 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[fedora@solmsted testForHatch]$ git clone git://github.com/hatched/flickr-carousel.git | |
Cloning into 'flickr-carousel'... | |
remote: Counting objects: 74, done. | |
remote: Compressing objects: 100% (58/58), done. | |
remote: Total 74 (delta 20), reused 60 (delta 6) | |
Receiving objects: 100% (74/74), 13.21 KiB, done. | |
Resolving deltas: 100% (20/20), done. | |
[fedora@solmsted testForHatch]$ git checkout tests | |
fatal: Not a git repository (or any of the parent directories): .git | |
[fedora@solmsted testForHatch]$ cd flickr-carousel/ | |
[fedora@solmsted flickr-carousel]$ git checkout tests | |
Branch tests set up to track remote branch tests from origin. | |
Switched to a new branch 'tests' | |
[fedora@solmsted flickr-carousel]$ cd src/gallery-flickr-carousel/ | |
[fedora@solmsted gallery-flickr-carousel]$ yogi build | |
yogi [info] using [email protected] on [email protected] | |
yogi [info] using module: gallery-flickr-carousel | |
yogi [info] running with shifter | |
shifter [info] racing to find the closest .shifter.json file | |
shifter [info] woohoo, found a config here: /home/fedora/Desktop/testForHatch/flickr-carousel/src/gallery-flickr-carousel/.shifter.json | |
shifter [info] override config found for replace-version | |
shifter [info] revving up | |
shifter [info] looking for build.json file | |
shifter [info] found build.json file, shifting | |
shifter [info] putting the hammer down, let's build this thing! | |
shifter [info] munging in loader meta data into build.json | |
shifter [info] putting the hammer down | |
shifter [info] shifting into gear for gallery-flickr-carousel | |
shifter [err] /home/fedora/Desktop/testForHatch/flickr-carousel/src/gallery-flickr-carousel/js/gallery-flickr-carousel.js contains 4 lint errors | |
#1: Line too long. | |
_flickrUrl: 'http://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key={apiKey}&photoset_id={photosetId}&extras={size},description&format=json', // line 25, pos 169 | |
#2: Expected an assignment or function call and instead saw an expression. | |
(e.currentTarget.hasClass('next')) ? this.next() : this.prev(); // line 158, pos 70 | |
#3: Expected an assignment or function call and instead saw an expression. | |
(pages.get('index') < pages.get('total')-1) ? pages.next() : pages.scrollToIndex(1); // line 238, pos 107 | |
#4: Expected an assignment or function call and instead saw an expression. | |
(e.type === "mouseenter") ? this.set('pauseOnHover', true) : this.set('pauseOnHover', false); // line 254, pos 100 | |
shifter [queu] writing RAW file | |
shifter [queu] compressing gallery-flickr-carousel/gallery-flickr-carousel.js with UglifyJS | |
shifter [queu] writing -min file | |
shifter [info] shifting for coverage | |
shifter [info] shifting assets for gallery-flickr-carousel | |
shifter [queu] coverage file read, starting coverage for: gallery-flickr-carousel/gallery-flickr-carousel.js | |
shifter [info] yuitest providing coverage | |
shifter [queu] writing coverage file to gallery-flickr-carousel/gallery-flickr-carousel-coverage.js | |
shifter [info] done racing, the gears are toast | |
shifter [info] finished in 0.427 seconds, pretty fast huh? | |
yogi [info] build complete | |
[fedora@solmsted gallery-flickr-carousel]$ yogi test --istanbul --coverage | |
yogi [info] using [email protected] on [email protected] | |
yogi [info] using module: gallery-flickr-carousel | |
yogi [info] prepping grover tests | |
yogi [info] adding tests route | |
yogi [info] turning on coverage support in grover | |
yogi [info] launching xdr server on port 5001 | |
yogi [info] listening on: http://127.0.0.1:5000 | |
Starting Grover on 1 files with [email protected] | |
Running 15 concurrent tests at a time. | |
✖ [http://127.0.0.1:5000/tests/src/gallery-flickr-carousel/tests/unit/index.html?filter=coverage]: Passed: 0 Failed: 1 Total: 1 (ignored 0) | |
Javascript Error | |
ReferenceError: Can't find variable: YUI | |
http://127.0.0.1:5000/tests/src/gallery-flickr-carousel/tests/unit/js/tests.js:1 | |
yogi [bail] grover returned a failure | |
[fedora@solmsted gallery-flickr-carousel]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment