Closed sampathBlam closed 3 years ago
I recently cloned the repo, made some changes and tried to run the tests locally using the test script in package.json.
When I ran the test using npm run test locally, it gave me an error . import should occur before import of ava import/order
npm run test
Hence I changed the order of the import statements in test.js (Moved import off ava below import of .)
test.js
But when I submitted a PR, the travis-ci build failed stating the reason - ava import should occur before import of .
Is there something we can do to make this uniform? Or am I missing something here?
Not quite sure but currently it seems to be passing in both CI and localy.
I recently cloned the repo, made some changes and tried to run the tests locally using the test script in package.json.
When I ran the test using
npm run test
locally, it gave me an error . import should occur before import of ava import/orderHence I changed the order of the import statements in
test.js
(Moved import off ava below import of .)But when I submitted a PR, the travis-ci build failed stating the reason - ava import should occur before import of .
Is there something we can do to make this uniform? Or am I missing something here?