Skip to content

Warnings for resolve of critical dependency when executing tns test #4821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
endarova opened this issue Jul 9, 2019 · 0 comments
Closed
Assignees

Comments

@endarova
Copy link
Contributor

endarova commented Jul 9, 2019

  • CLI: 6.0-rc
  • Cross-platform modules: rc
  • Android Runtime: rc
  • iOS Runtime: rc
  • nativescript-dev-webpack@rc
  • Plugin(s): [email protected]

Steps:

  1. tns create MyApp --js
  2. tns test init
  3. tns migrate , or install rc of all dependencies listed above
  4. tns test ios/android

Result: Tests run but there are warning in log:
WARNING in ../node_modules/nativescript-hook/index.js 56:27-51
Critical dependency: the request of a dependency is an expression
@ ../node_modules/nativescript-unit-test-runner/postinstall.js
@ ../node_modules/nativescript-unit-test-runner sync (?<!App_Resources.*).(xml|css|js|(?<!d.)ts|scss)$
@ ./main.ts

WARNING in ../node_modules/nativescript-hook/index.js 64:11-53
Critical dependency: the request of a dependency is an expression
@ ../node_modules/nativescript-unit-test-runner/postinstall.js
@ ../node_modules/nativescript-unit-test-runner sync (?<!App_Resources.*).(xml|css|js|(?<!d.)ts|scss)$
@ ./main.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants