Skip to content

Unable to work with [email protected] on test command #4746

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
VladimirAmiorkov opened this issue Jun 19, 2019 · 2 comments
Closed

Unable to work with [email protected] on test command #4746

VladimirAmiorkov opened this issue Jun 19, 2019 · 2 comments
Assignees
Milestone

Comments

@VladimirAmiorkov
Copy link

VladimirAmiorkov commented Jun 19, 2019

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.0.0-2019-06-19-13454
  • Cross-platform modules: 6.0.0-next-2019-06-17-201500-04
  • Android Runtime:
  • iOS Runtime: 6.0.0-2019-06-19-084246-01
  • Plugin(s):

Describe the bug
Using this app I get the following exception:

mcsofamiorkov:tests amiorkov$ tns test ios --device CA4FE147-D326-444F-96CD-7F74BC5D2AA6
Searching for devices...
Your application will be deployed only on the device specified by the provided index or identifier.
File change detected. Starting incremental webpack compilation...
19 06 2019 16:18:14.285:WARN [filelist]: Pattern "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/src/tests/**/*.js" does not match any file.
File change detected. Starting incremental webpack compilation...
Webpack compilation complete. Watching for file changes.
File change detected. Starting incremental webpack compilation...
Webpack compilation complete. Watching for file changes.
⚠ 「wdm」: Hash: 5a6283eb48af33ff57f4
Version: webpack 4.27.1
Time: 5798ms
Built at: 19/06/2019 16:18:28
Asset Size Chunks Chunk Names
app/app.component.js 1.69 MiB app/app.component [emitted] app/app.component
app/base.component.js 1.69 MiB app/base.component [emitted] app/base.component
app/first.component.js 3.9 MiB app/first.component [emitted] app/first.component
app/lazy-load-main.js 3.9 MiB app/lazy-load-main [emitted] app/lazy-load-main
app/lazy-loaded.module.js 5.74 MiB app/lazy-loaded.module [emitted] app/lazy-loaded.module
app/main.js 5.72 MiB app/main [emitted] app/main
app/multi-page-main.component.js 3.9 MiB app/multi-page-main.component [emitted] app/multi-page-main.component
app/second.component.js 3.9 MiB app/second.component [emitted] app/second.component
app/single-page-main.component.js 3.9 MiB app/single-page-main.component [emitted] app/single-page-main.component
app/snippets/gestures.component.js 1.69 MiB app/snippets/gestures.component [emitted] app/snippets/gestures.component
app/snippets/icon-font.component.js 1.69 MiB app/snippets/icon-font.component [emitted] app/snippets/icon-font.component
app/snippets/layouts.component.js 1.7 MiB app/snippets/layouts.component [emitted] app/snippets/layouts.component
app/snippets/list-view/template-selector.component.js 1.69 MiB app/snippets/list-view/template-selector.component [emitted] app/snippets/list-view/template-selector.component
app/snippets/navigation/app.routes.js 1.69 MiB app/snippets/navigation/app.routes [emitted] app/snippets/navigation/app.routes
app/snippets/navigation/config-snippets.js 5.37 MiB app/snippets/navigation/config-snippets [emitted] app/snippets/navigation/config-snippets
app/snippets/navigation/navigation-common.js 1.69 MiB app/snippets/navigation/navigation-common [emitted] app/snippets/navigation/navigation-common
app/snippets/navigation/page-outlet.js 5.41 MiB app/snippets/navigation/page-outlet [emitted] app/snippets/navigation/page-outlet
app/snippets/navigation/route-params.js 468 KiB app/snippets/navigation/route-params [emitted] app/snippets/navigation/route-params
app/snippets/navigation/router-extensions.js 3.9 MiB app/snippets/navigation/router-extensions [emitted] app/snippets/navigation/router-extensions
app/snippets/navigation/router-outlet.js 5.38 MiB app/snippets/navigation/router-outlet [emitted] app/snippets/navigation/router-outlet
app/tests/detached-loader-tests.js 5.97 MiB app/tests/detached-loader-tests [emitted] app/tests/detached-loader-tests
app/tests/http-client-ns-backend.js 6.75 KiB app/tests/http-client-ns-backend [emitted] app/tests/http-client-ns-backend
app/tests/http.js 2.25 MiB app/tests/http [emitted] app/tests/http
app/tests/list-view-tests.js 5.5 MiB app/tests/list-view-tests [emitted] app/tests/list-view-tests
app/tests/modal-dialog.js 6 MiB app/tests/modal-dialog [emitted] app/tests/modal-dialog
app/tests/ns-location-strategy.js 3.39 MiB app/tests/ns-location-strategy [emitted] app/tests/ns-location-strategy
app/tests/ns-router-link.js 3.82 MiB app/tests/ns-router-link [emitted] app/tests/ns-router-link
app/tests/platform-filter-components.js 5.51 MiB app/tests/platform-filter-components [emitted] app/tests/platform-filter-components
app/tests/property-sets.js 1.43 MiB app/tests/property-sets [emitted] app/tests/property-sets
app/tests/renderer-tests.js 5.54 MiB app/tests/renderer-tests [emitted] app/tests/renderer-tests
app/tests/router-module-tests.js 5.57 MiB app/tests/router-module-tests [emitted] app/tests/router-module-tests
app/tests/snippets.js 5.52 MiB app/tests/snippets [emitted] app/tests/snippets
app/tests/style-properties.js 3.13 MiB app/tests/style-properties [emitted] app/tests/style-properties
app/tests/test-config.js 5.04 KiB app/tests/test-config [emitted] app/tests/test-config
app/tests/test-main.js 5.55 MiB app/tests/test-main [emitted] app/tests/test-main
app/tests/test-utils.js 987 KiB app/tests/test-utils [emitted] app/tests/test-utils
app/tests/third-party-view.js 990 KiB app/tests/third-party-view [emitted] app/tests/third-party-view
app/tests/third-party.js 5.5 MiB app/tests/third-party [emitted] app/tests/third-party
app/tests/value-accessor-tests.js 3.38 MiB app/tests/value-accessor-tests [emitted] app/tests/value-accessor-tests
app/tests/xhr-paths.js 3.03 MiB app/tests/xhr-paths [emitted] app/tests/xhr-paths
Entrypoint app/tests/test-main = app/tests/test-main.js
Entrypoint app/app.component = app/app.component.js
Entrypoint app/base.component = app/base.component.js
Entrypoint app/first.component = app/first.component.js
Entrypoint app/lazy-load-main = app/lazy-load-main.js
Entrypoint app/lazy-loaded.module = app/lazy-loaded.module.js
Entrypoint app/multi-page-main.component = app/multi-page-main.component.js
Entrypoint app/second.component = app/second.component.js
Entrypoint app/single-page-main.component = app/single-page-main.component.js
Entrypoint app/snippets/gestures.component = app/snippets/gestures.component.js
Entrypoint app/snippets/icon-font.component = app/snippets/icon-font.component.js
Entrypoint app/snippets/layouts.component = app/snippets/layouts.component.js
Entrypoint app/snippets/list-view/template-selector.component = app/snippets/list-view/template-selector.component.js
Entrypoint app/snippets/navigation/app.routes = app/snippets/navigation/app.routes.js
Entrypoint app/snippets/navigation/config-snippets = app/snippets/navigation/config-snippets.js
Entrypoint app/snippets/navigation/navigation-common = app/snippets/navigation/navigation-common.js
Entrypoint app/snippets/navigation/page-outlet = app/snippets/navigation/page-outlet.js
Entrypoint app/snippets/navigation/route-params = app/snippets/navigation/route-params.js
Entrypoint app/snippets/navigation/router-extensions = app/snippets/navigation/router-extensions.js
Entrypoint app/snippets/navigation/router-outlet = app/snippets/navigation/router-outlet.js
Entrypoint app/tests/detached-loader-tests = app/tests/detached-loader-tests.js
Entrypoint app/tests/ns-router-link = app/tests/ns-router-link.js
Entrypoint app/tests/snippets = app/tests/snippets.js
Entrypoint app/tests/style-properties = app/tests/style-properties.js
Entrypoint app/tests/test-config = app/tests/test-config.js
Entrypoint app/tests/test-utils = app/tests/test-utils.js
Entrypoint app/tests/third-party-view = app/tests/third-party-view.js
Entrypoint app/tests/http-client-ns-backend = app/tests/http-client-ns-backend.js
Entrypoint app/tests/http = app/tests/http.js
Entrypoint app/tests/platform-filter-components = app/tests/platform-filter-components.js
Entrypoint app/tests/router-module-tests = app/tests/router-module-tests.js
Entrypoint app/tests/third-party = app/tests/third-party.js
Entrypoint app/tests/xhr-paths = app/tests/xhr-paths.js
Entrypoint app/main = app/main.js
Entrypoint app/tests/list-view-tests = app/tests/list-view-tests.js
Entrypoint app/tests/modal-dialog = app/tests/modal-dialog.js
Entrypoint app/tests/property-sets = app/tests/property-sets.js
Entrypoint app/tests/value-accessor-tests = app/tests/value-accessor-tests.js
Entrypoint app/tests/ns-location-strategy = app/tests/ns-location-strategy.js
Entrypoint app/tests/renderer-tests = app/tests/renderer-tests.js
[./app.component.js] 488 bytes {app/app.component} [built]
[./base.component.js] 637 bytes {app/base.component} [built]
[./first.component.js] 1.96 KiB {app/first.component} [built]
[./lazy-load-main.js] 666 bytes {app/lazy-load-main} [built]
[./lazy-loaded.module.js] 1.8 KiB {app/lazy-loaded.module} [built]
[./main.js] 5.58 KiB {app/main} [built]
[./multi-page-main.component.js] 1.08 KiB {app/multi-page-main.component} [built]
[./second.component.js] 2 KiB {app/second.component} [built]
[./single-page-main.component.js] 1.22 KiB {app/single-page-main.component} [built]
[./snippets/gestures.component.js] 1.94 KiB {app/snippets/gestures.component} [built]
[./snippets/icon-font.component.js] 859 bytes {app/snippets/icon-font.component} [built]
[./snippets/layouts.component.js] 739 bytes {app/snippets/layouts.component} [built]
[./snippets/list-view/template-selector.component.js] 2.62 KiB {app/snippets/list-view/template-selector.component} [built]
[./snippets/navigation/app.routes.js] 304 bytes {app/snippets/navigation/app.routes} [built]
[./snippets/navigation/config-snippets.js] 1.59 KiB {app/snippets/navigation/config-snippets} [built]
+ 478 hidden modules

WARNING in Lazy routes discovery is not enabled. Because there is neither an entryModule nor a statically analyzable bootstrap code in the main file.
ℹ 「wdm」: Compiled with warnings.
19 06 2019 16:18:32.999:WARN [karma]: No captured browser, open http://localhost:9876/
19 06 2019 16:18:33.010:INFO [karma-server]: Karma v4.1.0 server started at http://0.0.0.0:9876/
19 06 2019 16:18:33.010:INFO [launcher]: Launching browsers ios with concurrency unlimited
19 06 2019 16:18:33.015:INFO [launcher]: Starting browser NativeScript Unit Test Runner
Copying template files...
Platform ios successfully added. v6.0.0-2019-06-19-084246-01
Preparing project...
Found peer TypeScript 3.4.5
ℹ 「wdm」: Compiling...
File change detected. Starting incremental webpack compilation...
File change detected. Starting incremental webpack compilation...
Webpack compilation complete. Watching for file changes.

webpack is watching the files…

⚠ 「wdm」: Hash: 5a6283eb48af33ff57f4
Version: webpack 4.27.1
Time: 3973ms
Built at: 19/06/2019 16:18:46
Asset Size Chunks Chunk Names
app/app.component.js 1.69 MiB app/app.component app/app.component
app/base.component.js 1.69 MiB app/base.component app/base.component
app/first.component.js 3.9 MiB app/first.component app/first.component
app/lazy-load-main.js 3.9 MiB app/lazy-load-main app/lazy-load-main
app/lazy-loaded.module.js 5.74 MiB app/lazy-loaded.module app/lazy-loaded.module
app/main.js 5.72 MiB app/main app/main
app/multi-page-main.component.js 3.9 MiB app/multi-page-main.component app/multi-page-main.component
app/second.component.js 3.9 MiB app/second.component app/second.component
app/single-page-main.component.js 3.9 MiB app/single-page-main.component app/single-page-main.component
app/snippets/gestures.component.js 1.69 MiB app/snippets/gestures.component app/snippets/gestures.component
app/snippets/icon-font.component.js 1.69 MiB app/snippets/icon-font.component app/snippets/icon-font.component
app/snippets/layouts.component.js 1.7 MiB app/snippets/layouts.component app/snippets/layouts.component
app/snippets/list-view/template-selector.component.js 1.69 MiB app/snippets/list-view/template-selector.component app/snippets/list-view/template-selector.component
app/snippets/navigation/app.routes.js 1.69 MiB app/snippets/navigation/app.routes app/snippets/navigation/app.routes
app/snippets/navigation/config-snippets.js 5.37 MiB app/snippets/navigation/config-snippets app/snippets/navigation/config-snippets
app/snippets/navigation/navigation-common.js 1.69 MiB app/snippets/navigation/navigation-common app/snippets/navigation/navigation-common
app/snippets/navigation/page-outlet.js 5.41 MiB app/snippets/navigation/page-outlet app/snippets/navigation/page-outlet
app/snippets/navigation/route-params.js 468 KiB app/snippets/navigation/route-params app/snippets/navigation/route-params
app/snippets/navigation/router-extensions.js 3.9 MiB app/snippets/navigation/router-extensions app/snippets/navigation/router-extensions
app/snippets/navigation/router-outlet.js 5.38 MiB app/snippets/navigation/router-outlet app/snippets/navigation/router-outlet
app/tests/detached-loader-tests.js 5.97 MiB app/tests/detached-loader-tests app/tests/detached-loader-tests
app/tests/http-client-ns-backend.js 6.75 KiB app/tests/http-client-ns-backend app/tests/http-client-ns-backend
app/tests/http.js 2.25 MiB app/tests/http app/tests/http
app/tests/list-view-tests.js 5.5 MiB app/tests/list-view-tests app/tests/list-view-tests
app/tests/modal-dialog.js 6 MiB app/tests/modal-dialog app/tests/modal-dialog
app/tests/ns-location-strategy.js 3.39 MiB app/tests/ns-location-strategy app/tests/ns-location-strategy
app/tests/ns-router-link.js 3.82 MiB app/tests/ns-router-link app/tests/ns-router-link
app/tests/platform-filter-components.js 5.51 MiB app/tests/platform-filter-components app/tests/platform-filter-components
app/tests/property-sets.js 1.43 MiB app/tests/property-sets app/tests/property-sets
app/tests/renderer-tests.js 5.54 MiB app/tests/renderer-tests app/tests/renderer-tests
app/tests/router-module-tests.js 5.57 MiB app/tests/router-module-tests app/tests/router-module-tests
app/tests/snippets.js 5.52 MiB app/tests/snippets app/tests/snippets
app/tests/style-properties.js 3.13 MiB app/tests/style-properties app/tests/style-properties
app/tests/test-config.js 5.04 KiB app/tests/test-config app/tests/test-config
app/tests/test-main.js 5.55 MiB app/tests/test-main app/tests/test-main
app/tests/test-utils.js 987 KiB app/tests/test-utils app/tests/test-utils
app/tests/third-party-view.js 990 KiB app/tests/third-party-view app/tests/third-party-view
app/tests/third-party.js 5.5 MiB app/tests/third-party app/tests/third-party
app/tests/value-accessor-tests.js 3.38 MiB app/tests/value-accessor-tests app/tests/value-accessor-tests
app/tests/xhr-paths.js 3.03 MiB app/tests/xhr-paths app/tests/xhr-paths
Entrypoint app/tests/test-main = app/tests/test-main.js
Entrypoint app/app.component = app/app.component.js
Entrypoint app/base.component = app/base.component.js
Entrypoint app/first.component = app/first.component.js
Entrypoint app/lazy-load-main = app/lazy-load-main.js
Entrypoint app/lazy-loaded.module = app/lazy-loaded.module.js
Entrypoint app/multi-page-main.component = app/multi-page-main.component.js
Entrypoint app/second.component = app/second.component.js
Entrypoint app/single-page-main.component = app/single-page-main.component.js
Entrypoint app/snippets/gestures.component = app/snippets/gestures.component.js
Entrypoint app/snippets/icon-font.component = app/snippets/icon-font.component.js
Entrypoint app/snippets/layouts.component = app/snippets/layouts.component.js
Entrypoint app/snippets/list-view/template-selector.component = app/snippets/list-view/template-selector.component.js
Entrypoint app/snippets/navigation/app.routes = app/snippets/navigation/app.routes.js
Entrypoint app/snippets/navigation/config-snippets = app/snippets/navigation/config-snippets.js
Entrypoint app/snippets/navigation/navigation-common = app/snippets/navigation/navigation-common.js
Entrypoint app/snippets/navigation/page-outlet = app/snippets/navigation/page-outlet.js
Entrypoint app/snippets/navigation/route-params = app/snippets/navigation/route-params.js
Entrypoint app/snippets/navigation/router-extensions = app/snippets/navigation/router-extensions.js
Entrypoint app/snippets/navigation/router-outlet = app/snippets/navigation/router-outlet.js
Entrypoint app/tests/detached-loader-tests = app/tests/detached-loader-tests.js
Entrypoint app/tests/ns-router-link = app/tests/ns-router-link.js
Entrypoint app/tests/snippets = app/tests/snippets.js
Entrypoint app/tests/style-properties = app/tests/style-properties.js
Entrypoint app/tests/test-config = app/tests/test-config.js
Entrypoint app/tests/test-utils = app/tests/test-utils.js
Entrypoint app/tests/third-party-view = app/tests/third-party-view.js
Entrypoint app/tests/http-client-ns-backend = app/tests/http-client-ns-backend.js
Entrypoint app/tests/http = app/tests/http.js
Entrypoint app/tests/platform-filter-components = app/tests/platform-filter-components.js
Entrypoint app/tests/router-module-tests = app/tests/router-module-tests.js
Entrypoint app/tests/third-party = app/tests/third-party.js
Entrypoint app/tests/xhr-paths = app/tests/xhr-paths.js
Entrypoint app/main = app/main.js
Entrypoint app/tests/list-view-tests = app/tests/list-view-tests.js
Entrypoint app/tests/modal-dialog = app/tests/modal-dialog.js
Entrypoint app/tests/property-sets = app/tests/property-sets.js
Entrypoint app/tests/value-accessor-tests = app/tests/value-accessor-tests.js
Entrypoint app/tests/ns-location-strategy = app/tests/ns-location-strategy.js
Entrypoint app/tests/renderer-tests = app/tests/renderer-tests.js
[./app.component.js] 488 bytes {app/app.component} [built]
[./base.component.js] 637 bytes {app/base.component} [built]
[./first.component.js] 1.96 KiB {app/first.component} [built]
[./lazy-load-main.js] 666 bytes {app/lazy-load-main} [built]
[./lazy-loaded.module.js] 1.8 KiB {app/lazy-loaded.module} [built]
[./main.js] 5.58 KiB {app/main} [built]
[./multi-page-main.component.js] 1.08 KiB {app/multi-page-main.component} [built]
[./second.component.js] 2 KiB {app/second.component} [built]
[./single-page-main.component.js] 1.22 KiB {app/single-page-main.component} [built]
[./snippets/gestures.component.js] 1.94 KiB {app/snippets/gestures.component} [built]
[./snippets/icon-font.component.js] 859 bytes {app/snippets/icon-font.component} [built]
[./snippets/layouts.component.js] 739 bytes {app/snippets/layouts.component} [built]
[./snippets/list-view/template-selector.component.js] 2.62 KiB {app/snippets/list-view/template-selector.component} [built]
[./snippets/navigation/app.routes.js] 304 bytes {app/snippets/navigation/app.routes} [built]
[./snippets/navigation/config-snippets.js] 1.59 KiB {app/snippets/navigation/config-snippets} [built]
+ 478 hidden modules

WARNING in Lazy routes discovery is not enabled. Because there is neither an entryModule nor a statically analyzable bootstrap code in the main file.
ℹ 「wdm」: Compiled with warnings.
19 06 2019 16:18:53.509:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/base.component.js".
19 06 2019 16:18:53.511:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/first.component.js".
19 06 2019 16:18:53.512:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/second.component.js".
19 06 2019 16:18:53.514:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/multi-page-main.component.js".
19 06 2019 16:18:53.515:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/app.component.js".
19 06 2019 16:18:53.516:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/lazy-load-main.js".
19 06 2019 16:18:53.519:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/gestures.component.js".
19 06 2019 16:18:53.521:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/icon-font.component.js".
19 06 2019 16:18:53.522:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/navigation-common.js".
19 06 2019 16:18:53.532:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/layouts.component.js".
19 06 2019 16:18:53.576:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/app.routes.js".
19 06 2019 16:18:53.577:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/page-outlet.js".
19 06 2019 16:18:53.578:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/single-page-main.component.js".
19 06 2019 16:18:53.579:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/router-outlet.js".
19 06 2019 16:18:53.582:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/list-view/template-selector.component.js".
19 06 2019 16:18:53.583:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/config-snippets.js".
19 06 2019 16:18:53.584:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/router-extensions.js".
19 06 2019 16:18:53.584:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/snippets/navigation/route-params.js".
19 06 2019 16:18:53.585:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/detached-loader-tests.js".
19 06 2019 16:18:53.585:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/test-config.js".
19 06 2019 16:18:53.607:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/lazy-loaded.module.js".
19 06 2019 16:18:53.608:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/http-client-ns-backend.js".
19 06 2019 16:18:53.609:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/http.js".
19 06 2019 16:18:53.609:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/main.js".
19 06 2019 16:18:53.611:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/list-view-tests.js".
19 06 2019 16:18:53.611:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/modal-dialog.js".
19 06 2019 16:18:53.612:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/ns-router-link.js".
19 06 2019 16:18:53.613:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/ns-location-strategy.js".
19 06 2019 16:18:53.616:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/test-utils.js".
19 06 2019 16:18:53.616:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/snippets.js".
19 06 2019 16:18:53.650:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/test-main.js".
19 06 2019 16:18:53.651:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/third-party-view.js".
19 06 2019 16:18:53.652:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/style-properties.js".
19 06 2019 16:18:53.653:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/platform-filter-components.js".
19 06 2019 16:18:53.656:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/router-module-tests.js".
19 06 2019 16:18:53.656:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/third-party.js".
19 06 2019 16:18:53.657:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/property-sets.js".
19 06 2019 16:18:53.658:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/renderer-tests.js".
19 06 2019 16:18:53.661:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/xhr-paths.js".
19 06 2019 16:18:53.661:INFO [filelist]: Changed file "/Users/amiorkov/Desktop/Work/nativescript-angular/tests/app/tests/value-accessor-tests.js".
19 06 2019 16:18:53.920:WARN [karma]: No captured browser, open http://localhost:9876/
Hash: ebcd56aa84ec7e40b9ec
Version: webpack 4.27.1
Time: 20281ms
Built at: 19/06/2019 16:19:05
Asset Size Chunks Chunk Names
bundle.js 1.85 MiB bundle [emitted] bundle
fonts/icomoon.ttf 93.1 KiB [emitted]
logo.png 4.8 KiB [emitted]
package.json 24 bytes [emitted]
runtime.js 71.4 KiB runtime [emitted] runtime
tns_modules/tns-core-modules/inspector_modules.js 607 bytes tns_modules/tns-core-modules/inspector_modules [emitted] tns_modules/tns-core-modules/inspector_modules
vendor.js 14 MiB vendor [emitted] vendor
Entrypoint bundle = runtime.js vendor.js bundle.js
Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js
[../node_modules/nativescript-unit-test-runner sync recursive (root|page).(xml|css|js|ts|scss)$] ../node_modules/nativescript-unit-test-runner sync (root|page).(xml|css|js|ts|scss)$ 344 bytes {bundle} [built]
[./ sync recursive tests/..(ts|js)] . sync tests/..(ts|js) 1.35 KiB {bundle} [built]
[./main.ts] 481 bytes {bundle} [built]
[./tests/detached-loader-tests.js] 2.85 KiB {bundle} [optional] [built]
[./tests/detached-loader-tests.ts] 2.81 KiB {bundle} [optional] [built]
[./tests/http-client-ns-backend.js] 3.14 KiB {bundle} [optional] [built]
[./tests/http-client-ns-backend.ts] 3.09 KiB {bundle} [optional] [built]
[./tests/http.js] 4.02 KiB {bundle} [optional] [built]
[./tests/http.ts] 3.99 KiB {bundle} [optional] [built]
[./tests/list-view-tests.js] 5.89 KiB {bundle} [optional] [built]
[./tests/list-view-tests.ts] 5.85 KiB {bundle} [optional] [built]
[./tests/modal-dialog.js] 6.03 KiB {bundle} [optional] [built]
[./tests/modal-dialog.ts] 5.99 KiB {bundle} [optional] [built]
[./tests/ns-location-strategy.js] 17.1 KiB {bundle} [optional] [built]
[./tests/ns-location-strategy.ts] 17 KiB {bundle} [built]
+ 485 hidden modules

WARNING in Lazy routes discovery is not enabled. Because there is neither an entryModule nor a statically analyzable bootstrap code in the main file.
Webpack compilation complete. Watching for file changes.
Webpack build done!
Project successfully prepared (ios)
after-prepare will NOT be executed because it has invalid arguments - $platformsData.
Building project...
Xcode build...
Project successfully built.
Installing on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6...
Successfully installed on device with identifier 'CA4FE147-D326-444F-96CD-7F74BC5D2AA6'.
Successfully transferred all files on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6.
Restarting application on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6...
Successfully synced application org.nativescript.ngtests on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6.
CONSOLE LOG file:///app/vendor.js:86571:28: NSUTR: fetching http://127.0.0.1:9876/context.json
CONSOLE LOG file:///app/vendor.js:86571:28: NSUTR: fetching http://192.168.94.44:9876/context.json
CONSOLE LOG file:///app/vendor.js:86571:28: NSUTR: fetching http://192.168.155.41:9876/context.json
CONSOLE LOG file:///app/vendor.js:86577:32: NSUTR: found karma at 127.0.0.1
CONSOLE LOG file:///app/vendor.js:86373:20: NSUTR: connecting to karma at http://127.0.0.1:9876
CONSOLE LOG file:///app/vendor.js:86577:32: NSUTR: found karma at 192.168.94.44
CONSOLE LOG file:///app/vendor.js:86577:32: NSUTR: found karma at 192.168.155.41
CONSOLE LOG file:///app/vendor.js:86386:24: NSUTR: successfully connected to karma
19 06 2019 16:19:34.016:INFO [NativeScript / 12.2 (12.2; iPhone)]: Connected on socket HXA_1csllQGYyF-QAAAA with id NativeScriptUnit-5413
CONSOLE LOG file:///app/vendor.js:86488:20: NSUTR: downloading http://127.0.0.1:9876/context.json
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/sinon/pkg/sinon.js?fd64f3a13cddbb3783308d595307f8f6c1c10a4b
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/chai/chai.js?db92883971379fbea71a12c25b271c26a3afc3f6
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/karma-chai/adapter.js?bab484a2111791847997ed88414622bccfbd2749
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/mocha/mocha.js?3b67978b01c76dd91931f5c8a4b6555a4e5dd6e0
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/karma-mocha/lib/adapter.js?e8826109cf50b958ee4bd667517729ffdd4de363
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/test-main.js?171f220e1b80c257c2dcb2c33c914c0d906294c2
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl1" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/detached-loader-tests.js?ed4df0d3900b6571277761130faa63b7b23eeef7
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl1" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl2" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/http-client-ns-backend.js?c654cea715e15ab10bcc5e2ef97d012833d567db
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/http.js?9734e0e86065a4b03c9730be506c9cc97c2b98d5
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl2" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl3" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/list-view-tests.js?55c570d48081510a1105497b8fe982d2e326eb00
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl4" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/modal-dialog.js?1ba6a36b53fc330e21e3c5d81da6e8147d98dc29
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl3" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl5" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/ns-location-strategy.js?c1e251b2415778ef456db55238ed0f4a31554560
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl4" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl6" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/ns-router-link.js?220f763e1aee589794ee31f1ef8c62fca19016ca
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl5" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl7" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/platform-filter-components.js?ce0dbd5031f663b6fc810fdc01e618f5a76170b3
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl6" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl8" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/property-sets.js?e001d9dddb05d57d0c5e523a06b5b139605b69cd
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl9" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/renderer-tests.js?4d66185a1a5ff70e4c2dd3a7e878dc81f1da4c80
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl7" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl10" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/router-module-tests.js?be9d2d46d5696a3d7c7f9593b1a00be8870b379e
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl8" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl11" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/snippets.js?a5418c5e5f717b77ddfbe78d0ae870df56426a6b
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl9" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl12" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/style-properties.js?be7a7c39c46600012410af3d000350e54a9244d3
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl13" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/test-config.js?bd6d0f33bce3e637b867388ccca2e7f05a2f0f90
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/test-utils.js?e1c148060828bd171b100edae62be98a56531a62
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl14" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/third-party-view.js?ec76d714295aff3b183320d8ef5f79326d537555
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl15" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/third-party.js?9c3464ef9a2374d20c516df33663bdfbb63ff208
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl10" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl16" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/value-accessor-tests.js?48fa7150eaee691480cbe05f58523929a53f0e2c
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl17" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/xhr-paths.js?0575588d607094aa0f76664200c1c971284da982
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl11" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl18" instead.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/test-main.js?171f220e1b80c257c2dcb2c33c914c0d906294c2
CONSOLE WARN Objective-C class name "NSURLSessionTaskDelegateImpl" is already in use - using "NSURLSessionTaskDelegateImpl1" instead.
19 06 2019 16:19:38.931:WARN [NativeScript / 12.2 (12.2; iPhone)]: Adapter did not report total number of specs.
NativeScript / 12.2 (12.2; iPhone): Executed 0 of null SUCCESS (0 secs / 0 secs)
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/detached-loader-tests.js?ed4df0d3900b6571277761130faa63b7b23eeef7
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/list-view-tests.js?55c570d48081510a1105497b8fe982d2e326eb00
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/modal-dialog.js?1ba6a36b53fc330e21e3c5d81da6e8147d98dc29
NativeScript / 12.2 (12.2; iPhone) /base/app/tests/test-main.js?171f220e1b80c257c2dcb2c33c914c0d906294c2 at line 0 FAILED
ReferenceError: Can't find variable: __dirname
NativeScript / 12.2 (12.2; iPhone): Executed 1 of null (1 FAILED) ERROR (0.039 secs / 0 secs)
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/ns-location-strategy.js?c1e251b2415778ef456db55238ed0f4a31554560
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/ns-router-link.js?220f763e1aee589794ee31f1ef8c62fca19016ca
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/platform-filter-components.js?ce0dbd5031f663b6fc810fdc01e618f5a76170b3
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/property-sets.js?e001d9dddb05d57d0c5e523a06b5b139605b69cd
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/renderer-tests.js?4d66185a1a5ff70e4c2dd3a7e878dc81f1da4c80
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/router-module-tests.js?be9d2d46d5696a3d7c7f9593b1a00be8870b379e
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/snippets.js?a5418c5e5f717b77ddfbe78d0ae870df56426a6b
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/style-properties.js?be7a7c39c46600012410af3d000350e54a9244d3
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/test-utils.js?e1c148060828bd171b100edae62be98a56531a62
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/third-party-view.js?ec76d714295aff3b183320d8ef5f79326d537555
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/third-party.js?9c3464ef9a2374d20c516df33663bdfbb63ff208
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/value-accessor-tests.js?48fa7150eaee691480cbe05f58523929a53f0e2c
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
NativeScript / 12.2 (12.2; iPhone) ERROR
DisconnectedClient disconnected from CONNECTED state (transport error)
NativeScript / 12.2 (12.2; iPhone): Executed 1 of null (1 FAILED) ERROR (0.039 secs / 0 secs)
Building project...
Xcode build...
Project successfully built.
Installing on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6...
Successfully installed on device with identifier 'CA4FE147-D326-444F-96CD-7F74BC5D2AA6'.
Restarting application on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6...
Successfully synced application org.nativescript.ngtests on device CA4FE147-D326-444F-96CD-7F74BC5D2AA6.
CONSOLE LOG file:///app/vendor.js:86571:28: NSUTR: fetching http://127.0.0.1:9876/context.json
CONSOLE LOG file:///app/vendor.js:86571:28: NSUTR: fetching http://192.168.94.44:9876/context.json
CONSOLE LOG file:///app/vendor.js:86571:28: NSUTR: fetching http://192.168.155.41:9876/context.json
CONSOLE LOG file:///app/vendor.js:86577:32: NSUTR: found karma at 192.168.155.41
CONSOLE LOG file:///app/vendor.js:86373:20: NSUTR: connecting to karma at http://192.168.155.41:9876
CONSOLE LOG file:///app/vendor.js:86577:32: NSUTR: found karma at 127.0.0.1
CONSOLE LOG file:///app/vendor.js:86577:32: NSUTR: found karma at 192.168.94.44
CONSOLE LOG file:///app/vendor.js:86386:24: NSUTR: successfully connected to karma
19 06 2019 16:20:01.993:INFO [NativeScript / 12.2 (12.2; iPhone)]: Connected on socket 67Awlg8ly0jXAFhlAAAB with id NativeScriptUnit-667
CONSOLE LOG file:///app/vendor.js:86488:20: NSUTR: downloading http://192.168.155.41:9876/context.json
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/sinon/pkg/sinon.js?fd64f3a13cddbb3783308d595307f8f6c1c10a4b
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/chai/chai.js?db92883971379fbea71a12c25b271c26a3afc3f6
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/karma-chai/adapter.js?bab484a2111791847997ed88414622bccfbd2749
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/mocha/mocha.js?3b67978b01c76dd91931f5c8a4b6555a4e5dd6e0
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/node_modules/karma-mocha/lib/adapter.js?e8826109cf50b958ee4bd667517729ffdd4de363
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/test-main.js?171f220e1b80c257c2dcb2c33c914c0d906294c2
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl1" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/detached-loader-tests.js?ed4df0d3900b6571277761130faa63b7b23eeef7
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl1" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl2" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/http-client-ns-backend.js?c654cea715e15ab10bcc5e2ef97d012833d567db
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/http.js?9734e0e86065a4b03c9730be506c9cc97c2b98d5
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl2" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl3" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/list-view-tests.js?55c570d48081510a1105497b8fe982d2e326eb00
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl4" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/modal-dialog.js?1ba6a36b53fc330e21e3c5d81da6e8147d98dc29
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl3" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl5" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/ns-location-strategy.js?c1e251b2415778ef456db55238ed0f4a31554560
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl4" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl6" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/ns-router-link.js?220f763e1aee589794ee31f1ef8c62fca19016ca
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl5" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl7" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/platform-filter-components.js?ce0dbd5031f663b6fc810fdc01e618f5a76170b3
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl6" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl8" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/property-sets.js?e001d9dddb05d57d0c5e523a06b5b139605b69cd
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl9" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/renderer-tests.js?4d66185a1a5ff70e4c2dd3a7e878dc81f1da4c80
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl7" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl10" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/router-module-tests.js?be9d2d46d5696a3d7c7f9593b1a00be8870b379e
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl8" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl11" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/snippets.js?a5418c5e5f717b77ddfbe78d0ae870df56426a6b
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl9" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl12" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/style-properties.js?be7a7c39c46600012410af3d000350e54a9244d3
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl13" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/test-config.js?bd6d0f33bce3e637b867388ccca2e7f05a2f0f90
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/test-utils.js?e1c148060828bd171b100edae62be98a56531a62
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl14" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/third-party-view.js?ec76d714295aff3b183320d8ef5f79326d537555
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl15" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/third-party.js?9c3464ef9a2374d20c516df33663bdfbb63ff208
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl10" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl16" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/value-accessor-tests.js?48fa7150eaee691480cbe05f58523929a53f0e2c
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl17" instead.
CONSOLE LOG file:///app/vendor.js:86633:28: NSUTR: eval script /base/app/tests/xhr-paths.js?0575588d607094aa0f76664200c1c971284da982
CONSOLE WARN Objective-C class name "TimerTargetImpl" is already in use - using "TimerTargetImpl11" instead.
CONSOLE WARN Objective-C class name "UIDocumentInteractionControllerDelegateImpl" is already in use - using "UIDocumentInteractionControllerDelegateImpl18" instead.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/test-main.js?171f220e1b80c257c2dcb2c33c914c0d906294c2
CONSOLE WARN Objective-C class name "NSURLSessionTaskDelegateImpl" is already in use - using "NSURLSessionTaskDelegateImpl1" instead.
19 06 2019 16:20:06.373:WARN [NativeScript / 12.2 (12.2; iPhone)]: Adapter did not report total number of specs.
NativeScript / 12.2 (12.2; iPhone): Executed 0 of null SUCCESS (0 secs / 0 secs)
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/detached-loader-tests.js?ed4df0d3900b6571277761130faa63b7b23eeef7
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/list-view-tests.js?55c570d48081510a1105497b8fe982d2e326eb00
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/modal-dialog.js?1ba6a36b53fc330e21e3c5d81da6e8147d98dc29
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
NativeScript / 12.2 (12.2; iPhone) /base/app/tests/test-main.js?171f220e1b80c257c2dcb2c33c914c0d906294c2 at line 0 FAILED
ReferenceError: Can't find variable: __dirname
NativeScript / 12.2 (12.2; iPhone): Executed 1 of null (1 FAILED) ERROR (0.029 secs / 0 secs)
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/ns-router-link.js?220f763e1aee589794ee31f1ef8c62fca19016ca
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/platform-filter-components.js?ce0dbd5031f663b6fc810fdc01e618f5a76170b3
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/property-sets.js?e001d9dddb05d57d0c5e523a06b5b139605b69cd
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/renderer-tests.js?4d66185a1a5ff70e4c2dd3a7e878dc81f1da4c80
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/router-module-tests.js?be9d2d46d5696a3d7c7f9593b1a00be8870b379e
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/snippets.js?a5418c5e5f717b77ddfbe78d0ae870df56426a6b
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/style-properties.js?be7a7c39c46600012410af3d000350e54a9244d3
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/test-utils.js?e1c148060828bd171b100edae62be98a56531a62
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/third-party-view.js?ec76d714295aff3b183320d8ef5f79326d537555
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/third-party.js?9c3464ef9a2374d20c516df33663bdfbb63ff208
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86355:20: NSUTR: this.error: ReferenceError: Can't find variable: __dirname
at /base/app/tests/value-accessor-tests.js?48fa7150eaee691480cbe05f58523929a53f0e2c
CONSOLE LOG file:///app/vendor.js:86343:20: NSUTR: completed test run.
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
CONSOLE LOG file:///app/vendor.js:86347:24: NSUTR: completeAck
NativeScript / 12.2 (12.2; iPhone) ERROR
DisconnectedClient disconnected from CONNECTED state (transport error)
NativeScript / 12.2 (12.2; iPhone): Executed 1 of null (1 FAILED) ERROR (0.029 secs / 0 secs)
NativeScript / 12.2 (12.2; iPhone) ERROR
Disconnected, because no message in 30000 ms.
NativeScript / 12.2 (12.2; iPhone): Executed 1 of null (1 FAILED) ERROR (0.029 secs / 0 secs)
NativeScript / 12.2 (12.2; iPhone) ERROR
Disconnected, because no message in 30000 ms.
NativeScript / 12.2 (12.2; iPhone): Executed 1 of null (1 FAILED) DISCONNECTED (30.032 secs / 0 secs)

To Reproduce
Using this app and doing:

  • tns test init - to update the karma-config.json and related devDependencies
  • tns test ios

Expected behavior
Test will run correctly

Workaround

Reverting karma-webpack from the latest 4.0.2 to 3.0.5

@meeshkabob
Copy link

I saw the same error when running tns test <ios | android>. Downgrading karma-webpack from 4.0.2 to 3.0.5 worked for me as well.

@Fatme Fatme self-assigned this Jul 29, 2019
@Fatme
Copy link
Contributor

Fatme commented Jul 30, 2019

@meeshkabob,

There are major changes in [email protected] that are still not compatible with our logic for executing unit tests. NativeScript CLI has its own .json file describing the versions of all test related dependencies that will be installed in user's project on tns test init command. This .json file is populated with latest versions of dependencies or with hardcoded in case we want to specify a particular version of some dependency.

We decided to hardcode karma-webpack: 3.0.5 inside the mentioned .json file for now, as the full support of [email protected] will require more time and effort from our side. We'll plan it for one of our next releases.

Hardcoding karma-webpack to 3.0.5 will resolve the issue for new projects, the users with already "test initialized" projects should manually downgrade karma-webpack to 3.0.5.

@Fatme Fatme added this to the 6.0.3 milestone Jul 30, 2019
@Fatme Fatme changed the title Error with latest webpack version and tns test ios with Angular app using nativescript-angular/testing Unable to work with [email protected] on test command Jul 30, 2019
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

5 participants