Skip to content

Commit

Permalink
Revise tests
Browse files Browse the repository at this point in the history
  • Loading branch information
C-D-Lewis committed Jun 1, 2018
1 parent 38c7d3d commit dc73c07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Test project for evrythng-swagger",
"scripts": {
"test": "npm i && ./node_modules/.bin/mocha tests/tests.js"
"test": "./node_modules/.bin/mocha tests/tests.js"
},
"author": "EVRYTHNG",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions module/tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ let spec;

const { expect } = require('chai');

describe('Exported Swagger spec', () => {
it('Can be required', () => {
describe('evrythng-swagger', () => {
it('Can be imported', () => {
spec = require('evrythng-swagger');
});

Expand Down

0 comments on commit dc73c07

Please sign in to comment.