Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

jest: Exclude mjs from moduleFileExtensions #1334

Merged
merged 1 commit into from Mar 24, 2019
Merged

jest: Exclude mjs from moduleFileExtensions #1334

merged 1 commit into from Mar 24, 2019

Conversation

edmorley
Copy link
Member

Since Jest does not yet support ES6 modules, so will error if imports resolve to .mjs files.

Fixes #1326.

Since Jest does not yet support ES6 modules, so will error if imports
resolve to `.mjs` files.

Fixes #1326.
@edmorley edmorley added the bug label Mar 24, 2019
@edmorley edmorley added this to the Neutrino 9 milestone Mar 24, 2019
@edmorley edmorley self-assigned this Mar 24, 2019
@edmorley edmorley merged commit 3dbc0e4 into neutrinojs:master Mar 24, 2019
@edmorley edmorley deleted the jest-exclude-mjs branch March 24, 2019 02:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

SyntaxError when using @neutrinojs/jest with MJS dependencies
2 participants