File tree 4 files changed +5
-2
lines changed
4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 20
20
- run : npm run typecheck
21
21
- run : npm run lint
22
22
- run : npm run build:embedded # check that build works
23
+ - run : npm run package # check that package build works
23
24
24
25
unit_tests :
25
26
name : Unit Tests
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import {devices} from '@playwright/test';
4
4
const baseUrl = process . env . PLAYWRIGHT_BASE_URL ;
5
5
6
6
const config : PlaywrightTestConfig = {
7
- globalSetup : './src /playwrightSetup.ts' ,
7
+ globalSetup : './tests /playwrightSetup.ts' ,
8
8
testDir : 'tests/suites' ,
9
9
timeout : 2 * 60 * 1000 ,
10
10
outputDir : './playwright-artifacts/test-results' ,
Original file line number Diff line number Diff line change 1
1
import { chromium } from '@playwright/test' ;
2
2
3
3
import config from '../playwright.config' ;
4
- import { PageModel } from '../tests/models/PageModel' ;
4
+
5
+ import { PageModel } from './models/PageModel' ;
5
6
6
7
async function warmupApplication ( appPage : PageModel ) {
7
8
const maxRetries = 5 ;
Original file line number Diff line number Diff line change 4
4
"outDir" : " dist" ,
5
5
"rootDir" : " src" ,
6
6
"declaration" : true ,
7
+ "sourceMap" : true ,
7
8
"noEmit" : false ,
8
9
"importHelpers" : true
9
10
},
You can’t perform that action at this time.
0 commit comments