Skip to content

Commit 1d37059

Browse files
authored
chore: bump deps to get rid of some security warnings (#233)
Bumping deps. Also renamed test.ts to karmaTest.ts as this is what it is, and test.ts is caught by default testMatch of Jest
1 parent 7f7d0f4 commit 1d37059

File tree

9 files changed

+2947
-3180
lines changed

9 files changed

+2947
-3180
lines changed

example/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"test": {
6868
"builder": "@angular-devkit/build-angular:karma",
6969
"options": {
70-
"main": "src/test.ts",
70+
"main": "src/karmaTest.ts",
7171
"polyfills": "src/polyfills.ts",
7272
"tsConfig": "src/tsconfig.spec.json",
7373
"karmaConfig": "src/karma.conf.js",

example/karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ module.exports = function (config) {
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
1818
files: [
19-
{ pattern: './src/test.ts', watched: false }
19+
{ pattern: './src/karmaTest.ts', watched: false }
2020
],
2121
preprocessors: {
22-
'./src/test.ts': ['@angular/cli']
22+
'./src/karmaTest.ts': ['@angular/cli']
2323
},
2424
mime: {
2525
'text/x-typescript': ['ts','tsx']

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
"@angular/cli": "^6.1.3",
3434
"@angular/compiler-cli": "6.1.2",
3535
"@types/jest": "^24.0.0",
36-
"@types/node": "^10.5.8",
36+
"@types/node": "^11.0.0",
3737
"codelyzer": "^4.4.3",
3838
"jest": "^24.0.0",
3939
"jest-preset-angular": "file:../",
4040
"protractor": "^5.4.0",
4141
"ts-node": "^7.0.1",
4242
"tslint": "^5.11.0",
43-
"typescript": "2.9.2"
43+
"typescript": "3.3.3333"
4444
},
4545
"jest": {
4646
"preset": "jest-preset-angular",
File renamed without changes.

example/src/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"baseUrl": ""
77
},
88
"exclude": [
9-
"test.ts",
9+
"karmaTest.ts",
1010
"**/*.spec.ts"
1111
]
1212
}

example/src/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"allowJs": true
1010
},
1111
"files": [
12-
"test.ts"
12+
"karmaTest.ts"
1313
],
1414
"include": [
1515
"**/*.spec.ts",

0 commit comments

Comments
 (0)