Skip to content

Instantly share code, notes, and snippets.

@kekyo
Created September 12, 2024 03:58
Show Gist options
  • Save kekyo/243834bceb39fe7dd5f459b933b38756 to your computer and use it in GitHub Desktop.
Save kekyo/243834bceb39fe7dd5f459b933b38756 to your computer and use it in GitHub Desktop.
jest on vscode/codium cause: "SyntaxError: Unexpected token '.'"
# Terminate vscode/codium

$ npm uninstall jest
$ npm install --save-dev jest
$ npx jest --clearCache

# Re-open vscode/codium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment