Skip to content

Commit 7b0d5a5

Browse files
committed
Fix
1 parent 98a0626 commit 7b0d5a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testassets/InteropTestsGrpcWebWebsite/Tests/custom-environment.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
const JestPuppeteerEnvironment = require("jest-environment-puppeteer").TestEnvironment;
2+
3+
// expect-puppeteer requires jest's expect to be on the global object
4+
global.expect = require('expect').expect;
25
const expect = require('expect-puppeteer').expect;
36

47
class CustomEnvironment extends JestPuppeteerEnvironment {

0 commit comments

Comments
 (0)