Skip to content

Commit

Permalink
karma config
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonpecora committed Mar 31, 2016
1 parent 380add8 commit 8db518b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 10 additions & 7 deletions karma.conf.js
Expand Up @@ -16,13 +16,16 @@ settings = {
colors: true,
singleRun: true,
browserify: {
debug: true,
transform: [istanbul({
ignore: ['**/node_modules/**'],
defaultIgnore: true
}), babelify.configure({
presets: ['es2015']
})]
transform: [
'rollupify', // this needs to happen before babelify
babelify.configure({
presets: ['es2015']
}),
istanbul({
ignore: ['**/node_modules/**'],
defaultIgnore: true
})
]
},
coverageReporter: {
type: 'lcovonly',
Expand Down
4 changes: 0 additions & 4 deletions services/cid.test.js
@@ -1,14 +1,10 @@
import cid from './cid';

describe('cid', function () {

it('returns unique ids', function () {

var firstId = cid(),
secondId = cid();

expect(firstId).to.not.equal(secondId);

});

});

0 comments on commit 8db518b

Please sign in to comment.