redux-saga-test-plan icon indicating copy to clipboard operation
redux-saga-test-plan copied to clipboard

When testing in my computer it's work, but when i push to my remote repository the test fail

Open cadrimiranda opened this issue 5 years ago • 0 comments

Hi, in my project, i made some tests with my sagas and it's perfectly fine, but when i push my code to GitLab and the doctor and CI/CD try to execute the tests, they all fail with this message:

TypeError: Cannot read property 'TAKE' of undefined import { expectSaga } from 'redux-saga-test-plan'; ^

My Ci/CD:

Running with gitlab-runner 11.11.1 (5a147c92) on docker-auto-scale ed2dce3a Using Docker executor with image node:10.15.1 ... Pulling docker image node:10.15.1 ...

My package.json

"react": "~16.8.6",
"react-redux": "^7.0.3",
"redux": "^4.0.1",
"redux-saga": "~1.0.0-beta.1",
"redux-saga-test-plan": "4.0.0-beta.3",

I dont know why this happen!

cadrimiranda avatar May 31 '19 20:05 cadrimiranda