Reputation: 765
When running the tests on master code npm test
works fine,
but when I build Fabric locally (with node build.js modules=ALL
)
the test breaks with error:
{ [Error: Cannot read property 'navigator' of undefined] message: 'Cannot read property \'navigator\' of undefined' }
Even without any changes to the codebase. I guess I'm missing some build flag.
Upvotes: 2
Views: 431
Reputation: 3507
Try this: node build.js modules=ALL exclude=gestures,cufon,json minifier=uglifyjs
.
Upvotes: 2