Skip to content

Add Jest imports everywhere, remove global availability#6911

Merged
trevor-scheer merged 3 commits intoversion-4from
trevor/add-jest-imports
Sep 15, 2022
Merged

Add Jest imports everywhere, remove global availability#6911
trevor-scheer merged 3 commits intoversion-4from
trevor/add-jest-imports

Conversation

@trevor-scheer
Copy link
Copy Markdown
Contributor

In ESM mode, the jest globals are technically no longer available. For some reason, we're still getting away with it, but this issue surfaces in the v29 upgrade PR so I'm going to address it separately.

https://jestjs.io/docs/ecmascript-modules#differences-between-esm-and-commonjs

Ref: #6850 (comment)

@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 15, 2022

Deploy Preview for apollo-server-docs ready!

Name Link
🔨 Latest commit 82a4ab6
🔍 Latest deploy log https://app.netlify.com/sites/apollo-server-docs/deploys/63234e8ac3c56700084b3f1b
😎 Deploy Preview https://deploy-preview-6911--apollo-server-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Sep 15, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 82a4ab6:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

@trevor-scheer trevor-scheer merged commit 793de3e into version-4 Sep 15, 2022
@trevor-scheer trevor-scheer deleted the trevor/add-jest-imports branch September 15, 2022 16:12
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant