Commit 3f32a1bc authored by Jeremy Tuloup's avatar Jeremy Tuloup
Browse files

Add placeholder for tests

So they can be run on CI from the start.
parent 569fa569
......@@ -24,3 +24,7 @@ jobs:
run: |
yarn run eslint:check
yarn run prettier:check
- name: Test
run: |
yarn run build:test
yarn run test
......@@ -32,14 +32,9 @@
],
"scripts": {
"build": "tsc -b",
"build:test": "tsc --build tsconfig.test.json",
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
"docs": "typedoc src",
"prepublishOnly": "npm run build",
"test": "jest",
"test:cov": "jest --collect-coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"watch": "tsc -b --watch"
},
"dependencies": {
......
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
describe('Application', () => {
describe('#constructor()', () => {
it('should create a Server instance', () => {
expect(true).toBe(true);
});
});
});
......@@ -32,14 +32,9 @@
],
"scripts": {
"build": "tsc -b",
"build:test": "tsc --build tsconfig.test.json",
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
"docs": "typedoc src",
"prepublishOnly": "npm run build",
"test": "jest",
"test:cov": "jest --collect-coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"watch": "tsc -b --watch"
},
"dependencies": {
......
......@@ -32,14 +32,9 @@
],
"scripts": {
"build": "tsc -b",
"build:test": "tsc --build tsconfig.test.json",
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
"docs": "typedoc src",
"prepublishOnly": "npm run build",
"test": "jest",
"test:cov": "jest --collect-coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"watch": "tsc -b --watch"
},
"dependencies": {
......
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
describe('Theme', () => {
describe('#constructor()', () => {
it('should create a Server instance', () => {
expect(true).toBe(true);
});
});
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment