Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Pin node version to v11.10.1
Browse files Browse the repository at this point in the history
This is a temporary solution to unblock our release.
See this SO: https://goo.gl/dpWurj

The correct solution is to update to the latest Jest, however it looks
like it may require a bump and reconfig of babel/babel-plugins.

```
 FAIL  test/web3.test.js
  ● Test suite failed to run

    TypeError: this.setDynamic is not a function

      at PluginPass.pre (node_modules/babel-plugin-transform-runtime/lib/index.js:31:12)
      at transformFile (node_modules/@babel/core/lib/transformation/index.js:78:27)
      at runSync (node_modules/@babel/core/lib/transformation/index.js:45:3)
      at transformSync (node_modules/@babel/core/lib/transform.js:43:38)
      at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:367:35)
      at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:437:40)
      at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:493:19)
```

Relevant Jest issue: facebook/create-react-app#6591
  • Loading branch information
cds-amal committed Mar 14, 2019
1 parent 8f46c59 commit a1231ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js:
- "node"
- "11.10.1"
- "--lts"
cache: npm
cache: npm

0 comments on commit a1231ed

Please sign in to comment.