Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
add dummy unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
biniam committed Feb 7, 2018
1 parent 2dd20c3 commit dbccf86
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"node": ">=8"
},
"scripts": {
"acceptance": "lb-dist mocha --opts ../../test/mocha.opts 'DIST/test/acceptance/**/*.js'",
"acceptance": "lb-mocha \"DIST/test/acceptance/**/*.js\"",
"build": "lb-tsc es2017",
"build:apidocs": "lb-apidocs",
"lint": "npm run prettier:check && npm run tslint",
Expand All @@ -23,9 +23,9 @@
"clean": "lb-clean loopback-graphql*.tgz dist*",
"prepare": "npm run build && npm run build:apidocs",
"pretest": "npm run build",
"integration": "lb-dist mocha --opts ../../test/mocha.opts 'DIST/test/integration/**/*.js'",
"test": "lb-dist mocha --opts ../../test/mocha.opts 'DIST/test/unit/**/*.js' 'DIST/test/integration/**/*.js' 'DIST/test/acceptance/**/*.js'",
"unit": "lb-dist mocha --opts ../../test/mocha.opts 'DIST/test/unit/**/*.js'",
"integration": "lb-mocha \"DIST/test/integration/**/*.js\"",
"test": "lb-mocha \"DIST/test/unit/**/*.js\" \"DIST/test/integration/**/*.js\" \"DIST/test/acceptance/**/*.js\"",
"unit": "lb-mocha \"DIST/test/unit/**/*.js\"",
"verify": "npm pack && tar xf loopback-graphql*.tgz && tree package && npm run clean"
},
"author": "IBM",
Expand Down
2 changes: 2 additions & 0 deletions test/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--recursive
--reporter dot
7 changes: 7 additions & 0 deletions test/unit/dummy-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import {expect} from '@loopback/testlab';

describe('dummy test - remove me later', () => {
it('works', () => {
expect(1).to.equal(1);
});
});

0 comments on commit dbccf86

Please sign in to comment.