Skip to content

Commit afe1ded

Browse files
authored
Cleaned Up Meaningless Tests (#328)
1 parent 1c973d2 commit afe1ded

File tree

62 files changed

+2795
-3014
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2795
-3014
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ trim_trailing_whitespace = true
1212
indent_size = 4
1313
quote_type = single
1414

15+
[*.spec.ts]
16+
indent_size = 2
17+
1518
[*.{rs,py}]
1619
indent_size = 4
1720

.eslintrc.json

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

.github/workflows/build-verify.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ jobs:
8787
env:
8888
NDK_HOME: "${{ env.ANDROID_HOME }}/ndk/${{ env.ANDROID_NDK_VERSION }}"
8989

90-
- name: Check lint
91-
run: npm run ng lint
92-
9390
- name: Build for Desktop
9491
run: npm run build -- --features=vendored-openssl
9592

angular.json

Lines changed: 17 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,26 @@
77
"projectType": "application",
88
"schematics": {
99
"@schematics/angular:component": {
10-
"style": "scss"
10+
"style": "scss",
11+
"standalone": true
1112
},
1213
"@schematics/angular:application": {
13-
"strict": true
14+
"strict": true,
15+
"standalone": true
16+
},
17+
"@schematics/angular:pipe": {
18+
"standalone": true
19+
},
20+
"@schematics/angular:directive": {
21+
"standalone": true
1422
}
1523
},
1624
"root": "",
1725
"sourceRoot": "src",
1826
"prefix": "app",
1927
"architect": {
2028
"build": {
21-
"builder": "@angular-builders/custom-webpack:browser",
29+
"builder": "@angular-devkit/build-angular:browser",
2230
"options": {
2331
"outputPath": "dist",
2432
"index": "src/index.html",
@@ -39,10 +47,6 @@
3947
"./src/styles"
4048
]
4149
},
42-
"customWebpackConfig": {
43-
"path": "./webpack.config.ts",
44-
"replaceDuplicatePlugins": true
45-
},
4650
"allowedCommonJsDependencies": [
4751
"buffer",
4852
"path",
@@ -100,7 +104,7 @@
100104
"defaultConfiguration": "production"
101105
},
102106
"serve": {
103-
"builder": "@angular-builders/custom-webpack:dev-server",
107+
"builder": "@angular-devkit/build-angular:dev-server",
104108
"options": {
105109
"proxyConfig": "src/proxy.conf.json"
106110
},
@@ -121,10 +125,12 @@
121125
}
122126
},
123127
"test": {
124-
"builder": "@angular-builders/custom-webpack:karma",
128+
"builder": "@angular-devkit/build-angular:karma",
125129
"options": {
126-
"main": "src/test.ts",
127-
"polyfills": "src/polyfills.ts",
130+
"polyfills": [
131+
"zone.js",
132+
"zone.js/testing"
133+
],
128134
"tsConfig": "tsconfig.spec.json",
129135
"karmaConfig": "karma.conf.js",
130136
"inlineStyleLanguage": "scss",
@@ -136,31 +142,11 @@
136142
],
137143
"scripts": []
138144
}
139-
},
140-
"lint": {
141-
"builder": "@angular-eslint/builder:lint",
142-
"options": {
143-
"lintFilePatterns": [
144-
"src/**/*.ts",
145-
"src/**/*.html"
146-
]
147-
}
148145
}
149146
}
150147
}
151148
},
152149
"cli": {
153-
"schematicCollections": [
154-
"@angular-eslint/schematics"
155-
],
156150
"analytics": false
157-
},
158-
"schematics": {
159-
"@angular-eslint/schematics:application": {
160-
"setParserOptionsProject": true
161-
},
162-
"@angular-eslint/schematics:library": {
163-
"setParserOptionsProject": true
164-
}
165151
}
166152
}

0 commit comments

Comments
 (0)