Skip to content

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

Closed
@endarova

Description

@endarova
  • CLI: 6.0-rc
  • Cross-platform modules: rc
  • Android Runtime: rc
  • iOS Runtime: rc
  • nativescript-dev-webpack@rc
  • Plugin(s): nativescript-unit-test-runner@0.6.4

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions