Skip to content

Commit 331533f

Browse files
committed
Adjust boilerplate tests to actual code
The failing test was probably coming from a cookiecutter, and we needed to adjust it to the actual code we implemented.
1 parent 9494dd2 commit 331533f

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

tests/src/index.spec.ts

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,24 @@ import {
1212
} from './utils.spec';
1313

1414
import {
15-
// FIXME: Module '"../../src"' has no exported member 'ExampleModel'.
16-
// FIXME: Module '"../../src"' has no exported member 'ExampleView'.
17-
ExampleModel, ExampleView
15+
SidecarModel
1816
} from '../../src/'
1917

2018

21-
describe('Example', () => {
19+
describe('Sidecar', () => {
2220

23-
describe('ExampleModel', () => {
21+
describe('SidecarModel', () => {
2422

2523
it('should be createable', () => {
26-
let model = createTestModel(ExampleModel);
27-
expect(model).to.be.an(ExampleModel);
24+
let model = createTestModel(SidecarModel);
25+
expect(model).to.be.an(SidecarModel);
2826
expect(model.get('value')).to.be('Hello World');
2927
});
3028

3129
it('should be createable with a value', () => {
3230
let state = { value: 'Foo Bar!' }
33-
let model = createTestModel(ExampleModel, state);
34-
expect(model).to.be.an(ExampleModel);
31+
let model = createTestModel(SidecarModel, state);
32+
expect(model).to.be.an(SidecarModel);
3533
expect(model.get('value')).to.be('Foo Bar!');
3634
});
3735

0 commit comments

Comments
 (0)