diff --git a/core/jest.config.js b/core/jest.config.js index 1dfa0e681b..4ddc23f507 100644 --- a/core/jest.config.js +++ b/core/jest.config.js @@ -1,3 +1,4 @@ +process.env.NODE_OPTIONS = "--experimental-vm-modules"; export default { transform: { "\\.[jt]sx?$": ["ts-jest", { useESM: true }], diff --git a/core/package.json b/core/package.json index fd34477ef6..37fdb0c16f 100644 --- a/core/package.json +++ b/core/package.json @@ -3,7 +3,7 @@ "version": "1.0.13", "description": "The Continue Core contains functionality that can be shared across web, VS Code, or Node.js server. It is written in TypeScript and contains much of the functionality that was previously inside of the legacy Continue Python Server.", "scripts": { - "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest", + "test": "jest", "build:npm": "tsc -p ./tsconfig.npm.json", "lint": "eslint . --ext ts", "lint:fix": "eslint . --ext ts --fix"