File tree Expand file tree Collapse file tree 8 files changed +37
-34
lines changed
user-onboarding/projects/user-onboarding-element Expand file tree Collapse file tree 8 files changed +37
-34
lines changed Original file line number Diff line number Diff line change 2323 if : steps.cache-nodemodules.outputs.cache-hit != 'true'
2424 run : npm ci --ignore-scripts
2525
26- - name : Install Lerna
27- run :
npm i -g [email protected] --ignore-scripts 28-
29- - name : Bootstrap Monorepo
30- run : lerna bootstrap --ignore-scripts
31-
3226 - name : Run test
33- run : lerna run test
27+ run : npm run test --workspaces --if-present
Original file line number Diff line number Diff line change 11{
22 "packages" : [
33 " packages/search/projects/search-lib" ,
4- " packages/search/projects/search-element"
4+ " packages/search/projects/search-element" ,
5+ " packages/user-onboarding/projects/user-onboarding-lib" ,
6+ " packages/user-onboarding/projects/user-onboarding-element"
57],
68 "command" : {
79 "version" : {
Original file line number Diff line number Diff line change 103103 "test" : {
104104 "builder" : " @angular-devkit/build-angular:karma" ,
105105 "options" : {
106- "main" : " projects/search-element /src/test.ts" ,
107- "polyfills" : " projects/search-element /src/polyfills.ts" ,
108- "tsConfig" : " projects/search-element /tsconfig.spec.json" ,
109- "karmaConfig" : " projects/search-element /karma.conf.js" ,
106+ "main" : " projects/search-lib /src/test.ts" ,
107+ "polyfills" : " projects/search-lib /src/polyfills.ts" ,
108+ "tsConfig" : " projects/search-lib /tsconfig.spec.json" ,
109+ "karmaConfig" : " projects/search-lib /karma.conf.js" ,
110110 "inlineStyleLanguage" : " scss" ,
111111 "assets" : [
112- " projects/search-element /src/favicon.ico" ,
113- " projects/search-element /src/assets"
112+ " projects/search-lib /src/favicon.ico" ,
113+ " projects/search-lib /src/assets"
114114 ],
115- "styles" : [" projects/search-element /src/styles.scss" ],
115+ "styles" : [" projects/search-lib /src/styles.scss" ],
116116 "scripts" : []
117117 }
118118 }
119119 }
120120 }
121121 }
122- }
122+ }
Original file line number Diff line number Diff line change 1919 },
2020 "author" : " Sourcefuse" ,
2121 "license" : " MIT" ,
22- "hash" : " 02200f42c00e69f33885a9b309d639afb2f6fe6aaf8a97f3af85c120c4abf2c8 "
22+ "hash" : " 6dd267d252bfc75383c89775926b88227dcc444d771549ac9d72b6871f6577dc "
2323}
Original file line number Diff line number Diff line change 44// https://opensource.org/licenses/MIT
55// This file is required by karma.conf.js and loads recursively all the .spec and framework files
66import 'zone.js' ;
7+ import 'zone.js/testing' ;
78import { getTestBed } from '@angular/core/testing' ;
89import {
910 BrowserDynamicTestingModule ,
@@ -24,7 +25,8 @@ declare const require: {
2425// First, initialize the Angular testing environment.
2526getTestBed ( ) . initTestEnvironment (
2627 BrowserDynamicTestingModule ,
27- platformBrowserDynamicTesting ( ) , {
28- teardown : { destroyAfterEach : false }
29- } ,
28+ platformBrowserDynamicTesting ( ) ,
29+ {
30+ teardown : { destroyAfterEach : false } ,
31+ } ,
3032) ;
Original file line number Diff line number Diff line change 88 ]
99 },
1010 "files" : [
11- " src/test.ts"
11+ " src/test.ts" ,
12+ " src/polyfills.ts"
1213 ],
1314 "include" : [
1415 " **/*.spec.ts" ,
Original file line number Diff line number Diff line change 2222 "access" : " public" ,
2323 "directory" : " dist"
2424 },
25- "hash" : " 8bb056299923034b8c7191ea9b4445f938d54d7bbf95e521490a9470bd591642 "
25+ "hash" : " 9358cf166bd34e45cf87768be02d052a3f6e9b91800492ef0e488a1bbeab7f4b "
2626}
You can’t perform that action at this time.
0 commit comments