Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
refactor(Test): Moved unit tests to test/unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerkin committed Sep 25, 2018
1 parent cfa6611 commit ac30115
Show file tree
Hide file tree
Showing 34 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"node_modules"
],
"roots": [
"test"
"test/unit-test"
],
"coverageThreshold": {
"global": {
Expand All @@ -102,7 +102,7 @@
],
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.jest.json"
"tsConfigFile": "test/tsconfig.test.json"
}
},
"setupTestFrameworkScriptFile": "./test/setup.ts",
Expand Down
7 changes: 7 additions & 0 deletions test/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

{
"extends": "../tsconfig",
"compilerOptions": {
"module": "commonjs",
},
}
5 changes: 5 additions & 0 deletions test/unit-test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Unit testing

Tests in this directory are run using [jest](https://jestjs.io/), and should be using while development.

To execute them, run `npm run test:unit`
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions tsconfig.jest.json

This file was deleted.

0 comments on commit ac30115

Please sign in to comment.