rails-erb-loader
rails-erb-loader copied to clipboard
Fix linter errors in tests
Quick fix option
Add https://www.npmjs.com/package/eslint-plugin-jest and in the test file:
/* eslint-env jest/globals */
So that we don't get undefined errors for all the globals defined by jest.
Better option
Use https://github.com/substack/tape instead which doesn't modify globals.