-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8387bfe
commit 42321c1
Showing
10 changed files
with
241 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ dist/ | |
node_modules/ | ||
test/out/ | ||
playwright-report/ | ||
test-results/ | ||
/index.js | ||
/yaml.worker.js | ||
*.log | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import { type PlaywrightTestConfig } from '@playwright/test' | ||
import { defineConfig } from '@playwright/test' | ||
import { createServer } from 'playwright-monaco' | ||
|
||
const config: PlaywrightTestConfig = { | ||
reporter: 'html', | ||
timeout: 120_000, | ||
webServer: { | ||
command: 'node test/serve.js', | ||
port: 3000, | ||
reuseExistingServer: !process.env.CI | ||
export default defineConfig({ | ||
expect: { timeout: 10_000 }, | ||
timeout: 60_000, | ||
use: { | ||
baseURL: await createServer({ | ||
setup: './test/setup', | ||
yaml: './yaml.worker' | ||
}), | ||
colorScheme: 'dark' | ||
} | ||
} | ||
export default config | ||
}) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.