@nuxt/test-utils
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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 @@ |
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23114
340