@tapjs/snapshot
Advanced tools
Comparing version 0.0.0-19 to 0.0.0-20
@@ -101,2 +101,12 @@ import type { TapPlugin, TestBase } from '@tapjs/core'; | ||
} | ||
/** | ||
* Generate snapshot files for `t.matchSnapshot()` assertions. | ||
* | ||
* Defaults to true if the `TAP_SNAPSHOT` environment variable is set to | ||
* `1`, or if the `npm_lifecycle_event` environment variable is set to | ||
* either `snap` or `snapshot`. | ||
* | ||
* That is, if you put `"scripts": { "snap": "tap" }` in your package.json | ||
* file, then `npm run snap` will generate snapshots. | ||
*/ | ||
export declare const config: { | ||
@@ -103,0 +113,0 @@ snapshot: { |
@@ -250,2 +250,12 @@ "use strict"; | ||
exports.SnapshotPlugin = SnapshotPlugin; | ||
/** | ||
* Generate snapshot files for `t.matchSnapshot()` assertions. | ||
* | ||
* Defaults to true if the `TAP_SNAPSHOT` environment variable is set to | ||
* `1`, or if the `npm_lifecycle_event` environment variable is set to | ||
* either `snap` or `snapshot`. | ||
* | ||
* That is, if you put `"scripts": { "snap": "tap" }` in your package.json | ||
* file, then `npm run snap` will generate snapshots. | ||
*/ | ||
exports.config = { | ||
@@ -252,0 +262,0 @@ snapshot: { |
@@ -101,2 +101,12 @@ import type { TapPlugin, TestBase } from '@tapjs/core'; | ||
} | ||
/** | ||
* Generate snapshot files for `t.matchSnapshot()` assertions. | ||
* | ||
* Defaults to true if the `TAP_SNAPSHOT` environment variable is set to | ||
* `1`, or if the `npm_lifecycle_event` environment variable is set to | ||
* either `snap` or `snapshot`. | ||
* | ||
* That is, if you put `"scripts": { "snap": "tap" }` in your package.json | ||
* file, then `npm run snap` will generate snapshots. | ||
*/ | ||
export declare const config: { | ||
@@ -103,0 +113,0 @@ snapshot: { |
@@ -245,2 +245,12 @@ import { argv, cwd, env, mainScript, normalizeMessageExtra, } from '@tapjs/core'; | ||
} | ||
/** | ||
* Generate snapshot files for `t.matchSnapshot()` assertions. | ||
* | ||
* Defaults to true if the `TAP_SNAPSHOT` environment variable is set to | ||
* `1`, or if the `npm_lifecycle_event` environment variable is set to | ||
* either `snap` or `snapshot`. | ||
* | ||
* That is, if you put `"scripts": { "snap": "tap" }` in your package.json | ||
* file, then `npm run snap` will generate snapshots. | ||
*/ | ||
export const config = { | ||
@@ -247,0 +257,0 @@ snapshot: { |
{ | ||
"name": "@tapjs/snapshot", | ||
"version": "0.0.0-19", | ||
"version": "0.0.0-20", | ||
"description": "", | ||
@@ -43,3 +43,3 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", | ||
"peerDependencies": { | ||
"@tapjs/core": "0.0.0-19" | ||
"@tapjs/core": "0.0.0-20" | ||
}, | ||
@@ -46,0 +46,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
102934
982