File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
packages/integration-tests Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { shouldSkipWASMTests } from '../../utils/wasmHelpers';
77
88sentryTest (
99 'captured exception should include modified frames and debug_meta attribute' ,
10- async ( { getLocalTestPath, page } ) => {
11- if ( shouldSkipWASMTests ( ) ) {
10+ async ( { getLocalTestPath, page, browserName } ) => {
11+ if ( shouldSkipWASMTests ( browserName ) ) {
1212 sentryTest . skip ( ) ;
1313 }
1414
Original file line number Diff line number Diff line change 22 * We can only test WASM tests in certain bundles/packages:
33 * - NPM (ESM, CJS)
44 * - ES6 CDN bundles
5+ * - On browsers other than WebKit
56 *
67 * @returns `true` if we should skip the replay test
78 */
8- export function shouldSkipWASMTests ( ) : boolean {
9+ export function shouldSkipWASMTests ( browser : string ) : boolean {
10+ if ( browser === 'webkit' ) {
11+ return true ;
12+ }
913 const bundle = process . env . PW_BUNDLE as string | undefined ;
1014 return bundle != null && bundle . includes ( 'es5' ) ;
1115}
You can’t perform that action at this time.
0 commit comments