Skip to content

Commit c861d11

Browse files
committed
test: ✅ fix testronaut config
1 parent 5664971 commit c861d11

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

apps/601-testronaut-solution/playwright-testronaut.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import '@angular/compiler';
22
import { defineConfig, devices } from '@playwright/test';
33
import { withTestronautAngular } from '@testronaut/angular';
4-
import { delimiter } from 'node:path';
4+
import { sep } from 'node:path';
55

66
/**
77
* See https://playwright.dev/docs/test-configuration.
88
*/
9-
const projectName = __dirname.split(delimiter).pop();
9+
const projectName = __dirname.split(sep).pop();
10+
1011
export default defineConfig(
1112
withTestronautAngular({
1213
configPath: __filename,

apps/601-testronaut-starter/playwright-testronaut.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import '@angular/compiler';
22
import { defineConfig, devices } from '@playwright/test';
33
import { withTestronautAngular } from '@testronaut/angular';
4-
import { delimiter } from 'node:path';
4+
import { sep } from 'node:path';
55

66
/**
77
* See https://playwright.dev/docs/test-configuration.
88
*/
9-
const projectName = __dirname.split(delimiter).pop();
9+
const projectName = __dirname.split(sep).pop();
10+
1011
export default defineConfig(
1112
withTestronautAngular({
1213
configPath: __filename,

0 commit comments

Comments
 (0)