Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Commit

Permalink
Extract test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
shvaikalesh committed Sep 12, 2018
1 parent 5843ca8 commit 3c0eba9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
8 changes: 8 additions & 0 deletions test-harness.js
@@ -0,0 +1,8 @@
'use strict';

const chai = require('chai');
chai.use(require('sinon-chai'));
chai.use(require('chai-as-promised'));
chai.should();

require('@babel/register');
9 changes: 0 additions & 9 deletions test/actions.js
@@ -1,12 +1,3 @@
'use strict';

let chai = require('chai');
var sinon = require('sinon');
var sinonChai = require('sinon-chai');

chai.use(sinonChai);
chai.should();

import Store from '../src/Store'
import { Action, Actions } from '../src/Actions'

Expand Down
13 changes: 1 addition & 12 deletions test/store.js
@@ -1,15 +1,4 @@
'use strict';

let chai = require('chai');
var sinon = require('sinon');
var sinonChai = require('sinon-chai');
var chaiAsPromised = require('chai-as-promised');


chai.use(sinonChai);
chai.use(chaiAsPromised);
chai.should();

import sinon from 'sinon'
import Store from '../src/Store'
import { Action, Actions } from '../src/Actions'

Expand Down

0 comments on commit 3c0eba9

Please sign in to comment.