Skip to content

Commit 4de2318

Browse files
committed
Fix test, remove outdated one
1 parent 644ff61 commit 4de2318

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

tests/integration/models-int-tests.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ const conceptsIds = [
2121
];
2222

2323
describe('Integration Tests - Models', () => {
24+
// TODO: The tests below that depend on testModel are required to be run after
25+
// 'Creates a new model' since it initializes testModel. Refactor the tests
26+
// so each one creates their own resources.
2427
var testModel;
2528

2629
beforeAll(() => {
@@ -61,6 +64,7 @@ describe('Integration Tests - Models', () => {
6164
});
6265

6366
it('Creates a new model version and returns after it has finished', done => {
67+
testModel.versionId = null;
6468
testModel.train(true)
6569
.then(model => {
6670
expect(model).toBeDefined();

tests/integration/options-int-tests.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)