Коммит
a9ac5f3fe9
|
@ -0,0 +1,6 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- 10
|
||||||
|
script:
|
||||||
|
- npm run build
|
||||||
|
- npm run test
|
|
@ -25,8 +25,8 @@
|
||||||
"docs": "typedoc --mode file --out ./lib/docs ./src",
|
"docs": "typedoc --mode file --out ./lib/docs ./src",
|
||||||
"pack": "webpack",
|
"pack": "webpack",
|
||||||
"build": "npm run clean && npm run lint && npm run compile && npm run docs && npm run pack",
|
"build": "npm run clean && npm run lint && npm run compile && npm run docs && npm run pack",
|
||||||
"test": "mocha -r ./src/test/common/setup.ts ./lib/test/ --recursive --timeout 30000 -i -g .*ignore.js",
|
"test": "mocha -r ./src/test/common/setup.ts ./lib/test/ --recursive --timeout 100000 -i -g .*ignore.js",
|
||||||
"test-ts": "mocha -r ts-node/register -r ./src/test/common/setup.ts ./src/test/**/*.spec.ts --recursive --timeout 30000 -i -g .*ignore.js",
|
"test-ts": "mocha -r ts-node/register -r ./src/test/common/setup.ts ./src/test/**/*.spec.ts --recursive --timeout 100000 -i -g .*ignore.js",
|
||||||
"test-browser": "karma start ./karma.config.js --single-run"
|
"test-browser": "karma start ./karma.config.js --single-run"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -50,7 +50,6 @@ describe("Session Token", function () {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
afterEach(async function () { await TestHelpers.removeAllDatabases(client); });
|
|
||||||
beforeEach(async function () { await TestHelpers.removeAllDatabases(client); });
|
beforeEach(async function () { await TestHelpers.removeAllDatabases(client); });
|
||||||
|
|
||||||
it("validate session tokens for sequence of opearations", async function () {
|
it("validate session tokens for sequence of opearations", async function () {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче