File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
packages/npm-packages/ruby-wasm-wasi/test-e2e Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { test , expect , Page } from "@playwright/test" ;
2
2
import path from "path" ;
3
- import { waitForRubyVM , setupDebugLog , setupProxy } from "../support" ;
3
+ import {
4
+ waitForRubyVM ,
5
+ setupDebugLog ,
6
+ setupProxy ,
7
+ setupUncaughtExceptionRejection ,
8
+ } from "../support" ;
4
9
import { readFileSync } from "fs" ;
5
10
import http from "http" ;
6
11
import https from "https" ;
7
12
8
- test . beforeEach ( async ( { context } ) => {
13
+ test . beforeEach ( async ( { context, page } ) => {
9
14
setupDebugLog ( context ) ;
15
+ setupUncaughtExceptionRejection ( page ) ;
10
16
if ( process . env . RUBY_NPM_PACKAGE_ROOT ) {
11
17
setupProxy ( context ) ;
12
18
} else {
Original file line number Diff line number Diff line change 1
- import { BrowserContext , Page } from "@playwright/test" ;
1
+ import { BrowserContext , Page , expect } from "@playwright/test" ;
2
2
import path from "path" ;
3
3
4
4
export const waitForRubyVM = async ( page : Page ) => {
You can’t perform that action at this time.
0 commit comments