my testing is passed successfuly locally but on github: Module <rootDir>/fileTransformer.js in the transform option was not found

Viewed 14

cannot merge on GitHub: rootDir is incorrect jest --collect-coverage ● Validation Error:

Module /fileTransformer.js in the transform option was not found. is: /home/runner/work/ui/ui

I tried to add rootDir: '../' and/or rootDir: process.cwd() or setupFiles: ['core-js', '/filetransformer.js']

but it did not resolved the issue. I am running jest@28.1.3 ts-jest@28.0.8 @vue/test-utils@2.0.2" @vue/vue3-jest@28.1.0"

still looking for a current solution (Sept 8, 2022)

0 Answers
Related