Skip to content

Commit

Permalink
refactor: switch test runner from ava to mocha (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvogt authored Aug 21, 2019
1 parent 7f490cc commit 676c296
Show file tree
Hide file tree
Showing 22 changed files with 909 additions and 203 deletions.
6 changes: 6 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"all": true,
"exclude": [
"**/*.spec.js"
]
}
68 changes: 0 additions & 68 deletions index.test.js

This file was deleted.

14 changes: 14 additions & 0 deletions initial-state.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { expect } = require('chai');
const initialState = require('./initial-state');

describe('initial state', () => {
it('exports an object to use as the initial state', () => {
expect(Object.keys(initialState)).to.deep.equal([
'clients',
'endpoints',
'sites',
'subscribedChannels'
]);
});
});

11 changes: 0 additions & 11 deletions initial-state.test.js

This file was deleted.

Loading

0 comments on commit 676c296

Please sign in to comment.