@tapjs/fixture
Advanced tools
Comparing version 0.0.0-10 to 0.0.0-11
@@ -26,3 +26,15 @@ import { TapPlugin, TestBase } from '@tapjs/core'; | ||
export declare const plugin: TapPlugin<TestFixtures, TestFixturesOptions>; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
export declare const config: { | ||
/** | ||
* flag | ||
* | ||
* Do not clean up fixtures created with t.testdir() | ||
* | ||
* @group Configuration | ||
*/ | ||
'save-fixture': { | ||
@@ -29,0 +41,0 @@ type: string; |
@@ -97,3 +97,15 @@ "use strict"; | ||
exports.plugin = plugin; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
exports.config = { | ||
/** | ||
* flag | ||
* | ||
* Do not clean up fixtures created with t.testdir() | ||
* | ||
* @group Configuration | ||
*/ | ||
'save-fixture': { | ||
@@ -100,0 +112,0 @@ type: 'boolean', |
@@ -26,3 +26,15 @@ import { TapPlugin, TestBase } from '@tapjs/core'; | ||
export declare const plugin: TapPlugin<TestFixtures, TestFixturesOptions>; | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
export declare const config: { | ||
/** | ||
* flag | ||
* | ||
* Do not clean up fixtures created with t.testdir() | ||
* | ||
* @group Configuration | ||
*/ | ||
'save-fixture': { | ||
@@ -29,0 +41,0 @@ type: string; |
@@ -78,3 +78,15 @@ // module code goes here | ||
export const plugin = (t, opts) => new TestFixtures(t, opts); | ||
/** | ||
* Options added by this plugin | ||
* | ||
* @group Configuration | ||
*/ | ||
export const config = { | ||
/** | ||
* flag | ||
* | ||
* Do not clean up fixtures created with t.testdir() | ||
* | ||
* @group Configuration | ||
*/ | ||
'save-fixture': { | ||
@@ -81,0 +93,0 @@ type: 'boolean', |
{ | ||
"name": "@tapjs/fixture", | ||
"version": "0.0.0-10", | ||
"version": "0.0.0-11", | ||
"description": "Tap plugin to provide t.testdir() and t.fixture()", | ||
@@ -40,3 +40,3 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", | ||
"peerDependencies": { | ||
"@tapjs/core": "0.0.0-10" | ||
"@tapjs/core": "0.0.0-11" | ||
}, | ||
@@ -43,0 +43,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
55727
569