Skip to content

Commit

Permalink
fix(example-getting-started): use sinon from testlab (#984)
Browse files Browse the repository at this point in the history
Rework example-getting-started to use sinon from @loopback/testlab
instead of importing it directly.
  • Loading branch information
bajtos authored Feb 13, 2018
1 parent e5a9ce8 commit 09fc791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions packages/example-getting-started/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
"@loopback/openapi-spec": "^4.0.0-alpha.25",
"@loopback/openapi-v2": "^4.0.0-alpha.10",
"@loopback/repository": "^4.0.0-alpha.29",
"@loopback/rest": "^4.0.0-alpha.25",
"@types/sinon": "^4.1.3",
"sinon": "^4.1.5"
"@loopback/rest": "^4.0.0-alpha.25"
},
"devDependencies": {
"@loopback/build": "^4.0.0-alpha.13",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {expect} from '@loopback/testlab';
import {expect, sinon} from '@loopback/testlab';
import {TodoController} from '../../../src/controllers';
import {TodoRepository} from '../../../src/repositories';
import * as sinon from 'sinon';
import {Todo} from '../../../src/models/index';
import {givenTodo} from '../../helpers';

Expand Down

0 comments on commit 09fc791

Please sign in to comment.