Skip to content

Commit 73bf43b

Browse files
committed
chore: Clean Up unused files. Move tests bundle file to proper location
1 parent 144fb35 commit 73bf43b

File tree

4 files changed

+3
-42
lines changed

4 files changed

+3
-42
lines changed

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module.exports = function (config) {
33
config.set({
44
basePath:'',
55
frameworks: ['jasmine'],
6-
files: [{ pattern: './spec-bundle.js', watched: false }],
7-
preprocessors: { './spec-bundle.js': ['coverage', 'webpack', 'sourcemap'] },
6+
files: [{ pattern: './tests/unit/spec-bundle.js', watched: false }],
7+
preprocessors: { './tests/unit/spec-bundle.js': ['coverage', 'webpack', 'sourcemap'] },
88
webpack: {
99
module: webpackConf.module,
1010
resolve: webpackConf.resolve

spec-bundle.js renamed to tests/unit/spec-bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Error.stackTraceLimit = Infinity;
22

3-
var testContext = require.context('./src', true, /\.spec\.ts/);
3+
var testContext = require.context('./../../src', true, /\.spec\.ts/);
44

55
function requireAll(requireContext) {
66
return requireContext.keys().map(requireContext);

tests/unit/test-config.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

tests/unit/test-main.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)