Socket
Socket
Sign inDemoInstall

@nuxt/test-utils

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/test-utils - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

8

CHANGELOG.md

@@ -5,2 +5,10 @@ # Changelog

### [0.2.1](https://github.com/nuxt-community/module-test-utils/compare/v0.2.0...v0.2.1) (2021-04-01)
### Bug Fixes
* detect `nuxt.config` with different extensions ([#105](https://github.com/nuxt-community/module-test-utils/issues/105)) ([006bebf](https://github.com/nuxt-community/module-test-utils/commit/006bebf4391487aa8186dd6e7e4b3813a7d93f8f))
* **types:** add more type definitions to nuxt interface ([#106](https://github.com/nuxt-community/module-test-utils/issues/106)) ([1a7d223](https://github.com/nuxt-community/module-test-utils/commit/1a7d223905729baf0eb15555c24fadfb5c072ee4))
## [0.2.0](https://github.com/nuxt-community/module-test-utils/compare/v0.1.3...v0.2.0) (2021-03-06)

@@ -7,0 +15,0 @@

18

dist/index.d.ts

@@ -44,6 +44,11 @@ import { Browser, BrowserContextOptions, Page, LaunchOptions } from 'playwright';

options: NuxtOptions;
listen: (port?: number) => any;
listen: (port?: number, host?: string, socket?: string) => any;
ready: () => any;
close: () => any;
close: (callback?: Function) => any;
resolver: any;
moduleContainer: any;
resolveAlias(path: string): string;
resolvePath(path: string, opts?: any): string;
renderRoute(...args: any[]): any;
renderAndGetWindow(url: string, opts?: any, config?: any): any;
};

@@ -69,6 +74,11 @@ browser?: Browser;

options: NuxtOptions;
listen: (port?: number) => any;
listen: (port?: number, host?: string, socket?: string) => any;
ready: () => any;
close: () => any;
close: (callback?: Function) => any;
resolver: any;
moduleContainer: any;
resolveAlias(path: string): string;
resolvePath(path: string, opts?: any): string;
renderRoute(...args: any[]): any;
renderAndGetWindow(url: string, opts?: any, config?: any): any;
};

@@ -75,0 +85,0 @@

@@ -44,3 +44,3 @@ 'use strict';

fixture: "fixture",
configFile: "nuxt.config.js",
configFile: "nuxt.config",
setupTimeout: 6e4,

@@ -47,0 +47,0 @@ server: options.browser,

{
"name": "@nuxt/test-utils",
"version": "0.2.0",
"version": "0.2.1",
"description": "Test utilities for Nuxt.js",

@@ -5,0 +5,0 @@ "repository": "nuxt-community/module-test-utils",

@@ -40,3 +40,3 @@ [![@nuxt/test-utils](https://test-utils.nuxtjs.org/preview.svg)](https://test-utils.nuxtjs.org)

[📖 **See module options**](https://test-utils.nuxtjs.org/options)
[📖 **Read more about setup and configuration**](https://test-utils.nuxtjs.org/api-reference/setup)

@@ -59,5 +59,5 @@ ## Development

[npm-downloads-href]: https://npmjs.com/package/@nuxt/test-utils
[checks-src]: https://flat.badgen.net/github/checks/nuxt/test-utils/master
[checks-src]: https://flat.badgen.net/github/checks/nuxt/test-utils/main
[checks-href]: https://github.com/nuxt/test-utils/actions
[codecov-src]: https://flat.badgen.net/codecov/c/github/nuxt/test-utils
[codecov-href]: https://codecov.io/gh/nuxt/test-utils
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc