Socket
Socket
Sign inDemoInstall

@nativescript/unit-test-runner

Package Overview
Dependencies
14
Maintainers
18
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nativescript/unit-test-runner

NativeScript unit test runner


Version published
Weekly downloads
1.2K
increased by7.7%
Maintainers
18
Install size
265 kB
Created
Weekly downloads
 

Changelog

Source

3.0.4 (2022-05-23)

Bug Fixes

  • log: fetching error (#59) (c10f1e4)

Readme

Source

Unit test runner for NativeScript

Refer to the documentation of NativeScript CLI's ns test init command for usage.

If you encounter an issue, please log it at https://github.com/NativeScript/nativescript-cli/

Troubleshooting

If you see an error like this:

Error: connect ECONNREFUSED ::1:9876
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16)

When using node 17 or higher, make sure your karma.conf.js contains a server hostname setting, for example:

// web server hostname (ensure this is present)
hostname: '127.0.0.1',

// web server port
port: 9876,

See here for changeset in CLI which adds that to all newly initialized unit test setups.

FAQs

Last updated on 23 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc