Skip to content

Run tests with node.js (instead of in browsers)#14

Merged
j4yk merged 4 commits into
layer-js-refactoringfrom
feature/nodejs-tests
May 24, 2016
Merged

Run tests with node.js (instead of in browsers)#14
j4yk merged 4 commits into
layer-js-refactoringfrom
feature/nodejs-tests

Conversation

@j4yk
Copy link
Copy Markdown
Contributor

@j4yk j4yk commented May 24, 2016

Closes #13

j4yk added 4 commits May 24, 2016 20:48
add new test script in package.json
include global .babelrc (was only in karma.conf.js so far)
arrange that chai is in the globals when mocha runs the tests
  because importing/requiring it in the browser would be another
  challenge (karma provides the global chai because it is listed in the
  frameworks)
node.js console does not have it, it is a non-standard browser feature
@j4yk j4yk merged commit 6d0d3db into layer-js-refactoring May 24, 2016
@j4yk j4yk deleted the feature/nodejs-tests branch May 24, 2016 19:42
@j4yk j4yk mentioned this pull request May 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant