mirror of
https://github.com/xodio/xod.git
synced 2026-03-15 05:06:59 +01:00
17 lines
447 B
JavaScript
17 lines
447 B
JavaScript
import chai from 'chai';
|
|
import initialState from '../src/core/state';
|
|
|
|
describe('Initial state', () => {
|
|
describe('should have reducers:', () => {
|
|
it('project', () => {
|
|
chai.expect(initialState).to.have.any.keys(['project']);
|
|
});
|
|
it('editor', () => {
|
|
chai.expect(initialState).to.have.any.keys(['editor']);
|
|
});
|
|
it('errors', () => {
|
|
chai.expect(initialState).to.have.any.keys(['errors']);
|
|
});
|
|
});
|
|
});
|