Skip to content

Commit 80c2754

Browse files
author
VladimirAmiorkov
committed
chore: update test app with latest deps and remove not used d.ts
1 parent 95e4d3e commit 80c2754

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

tests/app/global.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/karma.conf.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ module.exports = function (config) {
1111

1212

1313
// list of files / patterns to load in the browser
14-
// files: ['app/tests/**/*.ts'],
15-
1614
files: [
1715
'app/tests/test-main.js',
1816
'app/**/*.js',
@@ -107,7 +105,6 @@ function setWebpack(config, options) {
107105
options.webpack = require('./webpack.config')(env);
108106
delete options.webpack.entry;
109107
delete options.webpack.output.libraryTarget;
110-
111108
const invalidPluginsForUnitTesting = ["GenerateBundleStarterPlugin", "GenerateNativeScriptEntryPointsPlugin"];
112109
options.webpack.plugins = options.webpack.plugins.filter(p => !invalidPluginsForUnitTesting.includes(p.constructor.name));
113110
}

tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@ngtools/webpack": "8.0.0",
4646
"@types/chai": "^4.1.4",
4747
"@types/karma-chai": "0.1.1",
48-
"@types/mocha": "5.2.6",
48+
"@types/mocha": "5.2.7",
4949
"@types/sinon": "^7.0.11",
5050
"babel-traverse": "6.8.0",
5151
"babel-types": "6.8.1",

tests/references.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
1+
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" /> Needed for autocompletion and compilation.
2+
/// <reference path="./node_modules/tns-core-modules/tns-core-modules.d.ts" />

0 commit comments

Comments
 (0)