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 11import { test , expect , Page } from "@playwright/test" ;
22import path from "path" ;
3- import { waitForRubyVM , setupDebugLog , setupProxy } from "../support" ;
3+ import {
4+ waitForRubyVM ,
5+ setupDebugLog ,
6+ setupProxy ,
7+ setupUncaughtExceptionRejection ,
8+ } from "../support" ;
49import { readFileSync } from "fs" ;
510import http from "http" ;
611import https from "https" ;
712
8- test . beforeEach ( async ( { context } ) => {
13+ test . beforeEach ( async ( { context, page } ) => {
914 setupDebugLog ( context ) ;
15+ setupUncaughtExceptionRejection ( page ) ;
1016 if ( process . env . RUBY_NPM_PACKAGE_ROOT ) {
1117 setupProxy ( context ) ;
1218 } 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" ;
22import path from "path" ;
33
44export const waitForRubyVM = async ( page : Page ) => {
You can’t perform that action at this time.
0 commit comments