We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a0626 commit 7b0d5a5Copy full SHA for 7b0d5a5
testassets/InteropTestsGrpcWebWebsite/Tests/custom-environment.js
@@ -1,4 +1,7 @@
1
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;
5
const expect = require('expect-puppeteer').expect;
6
7
class CustomEnvironment extends JestPuppeteerEnvironment {
0 commit comments