You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @jmespiz-addi, I had trouble adding testing with the polyfill.
You can evaluate the test and I'm still looking for a solution to continue with the development of the tests.
Thanks!
`➜ yarn test
yarn run v1.22.4
$ jest
FAIL tests/Loader.test.js
● Test suite failed to run
/Volumes/JboteroData/Master/Addi/uservalidation/node_modules/react-native/Libraries/polyfills/error-guard.js:14
type ErrorHandler = (error: mixed, isFatal: boolean) => void;
^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1059:14)
at Object.<anonymous> (node_modules/react-native/jest/setup.js:16:6)
FAIL tests/App.test.js
● Test suite failed to run
/Volumes/JboteroData/Master/Addi/uservalidation/node_modules/react-native/Libraries/polyfills/error-guard.js:14
type ErrorHandler = (error: mixed, isFatal: boolean) => void;
^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1059:14)
at Object.<anonymous> (node_modules/react-native/jest/setup.js:16:6)
FAIL tests/Switch.test.js
● Test suite failed to run
/Volumes/JboteroData/Master/Addi/uservalidation/node_modules/react-native/Libraries/polyfills/error-guard.js:14
type ErrorHandler = (error: mixed, isFatal: boolean) => void;
^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1059:14)
at Object.<anonymous> (node_modules/react-native/jest/setup.js:16:6)
FAIL tests/FromUser.test.js
● Test suite failed to run
/Volumes/JboteroData/Master/Addi/uservalidation/node_modules/react-native/Libraries/polyfills/error-guard.js:14
type ErrorHandler = (error: mixed, isFatal: boolean) => void;
^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1059:14)
at Object.<anonymous> (node_modules/react-native/jest/setup.js:16:6)
Test Suites: 4 failed, 4 total
Tests: 0 total
Snapshots: 0 total
Time: 0.772s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`
The text was updated successfully, but these errors were encountered:
Hello @jmespiz-addi, I had trouble adding testing with the polyfill.
You can evaluate the test and I'm still looking for a solution to continue with the development of the tests.
Thanks!
`➜ yarn test
yarn run v1.22.4
$ jest
FAIL tests/Loader.test.js
● Test suite failed to run
FAIL tests/App.test.js
● Test suite failed to run
FAIL tests/Switch.test.js
● Test suite failed to run
FAIL tests/FromUser.test.js
● Test suite failed to run
Test Suites: 4 failed, 4 total
Tests: 0 total
Snapshots: 0 total
Time: 0.772s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`
The text was updated successfully, but these errors were encountered: