Use chai assert for session test
This commit is contained in:
parent
3ac20c8515
commit
89ca6fb19f
1 changed files with 3 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
|||
import assert from 'assert';
|
||||
import Session from 'common/session';
|
||||
import User from 'model/user';
|
||||
import MockAdapter from "axios-mock-adapter";
|
||||
import Api from "common/api";
|
||||
|
||||
let chai = require('../../../node_modules/chai/chai');
|
||||
let assert = chai.assert;
|
||||
|
||||
describe('common/session', () => {
|
||||
|
||||
const mock = new MockAdapter(Api);
|
||||
|
|
Loading…
Reference in a new issue