diff --git a/core/jest.config.js b/core/jest.config.js index 1dfa0e681bd..4ddc23f5072 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 fd34477ef63..37fdb0c16f4 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"