Skip to content

Commit

Permalink
chore: migrate to tap 18
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Feb 1, 2024
1 parent 6d4f75a commit 1d348ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules/
*.log
.vscode
dist
.tap
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "tap --no-check-coverage",
"test:snapshots:update": "tap --snapshot",
"test": "tap --disable-coverage --allow-empty-coverage",
"test:snapshots:update": "TAP_SNAPSHOT=1 npm t",
"bench": "node benchmark/benchmark.js"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions tap-snapshots/tests/html-document.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`tests/html-document.js TAP .document() - "type" is "module", "strategy" is set - should place assets based on strategy > must match snapshot 1`] = `
exports[`tests/html-document.js > TAP > .document() - "type" is "module", "strategy" is set - should place assets based on strategy > must match snapshot 1`] = `
<!doctype html>
<html lang="en-US">
<head>
Expand All @@ -25,7 +25,7 @@ exports[`tests/html-document.js TAP .document() - "type" is "module", "strategy"
</html>
`

exports[`tests/html-document.js TAP .document() - arguments given - handles v4 js and css syntax > should render template using values given 1`] = `
exports[`tests/html-document.js > TAP > .document() - arguments given - handles v4 js and css syntax > should render template using values given 1`] = `
<!doctype html>
<html lang="en-US">
<head>
Expand All @@ -49,7 +49,7 @@ exports[`tests/html-document.js TAP .document() - arguments given - handles v4 j
</html>
`

exports[`tests/html-document.js TAP .document() - arguments given > should render template using values given 1`] = `
exports[`tests/html-document.js > TAP > .document() - arguments given > should render template using values given 1`] = `
<!doctype html>
<html lang="en-NZ">
<head>
Expand All @@ -69,7 +69,7 @@ exports[`tests/html-document.js TAP .document() - arguments given > should rende
</html>
`

exports[`tests/html-document.js TAP .document() - js "type" is "esm" > should set type to module on script tags 1`] = `
exports[`tests/html-document.js > TAP > .document() - js "type" is "esm" > should set type to module on script tags 1`] = `
<!doctype html>
<html lang="en-US">
<head>
Expand All @@ -93,7 +93,7 @@ exports[`tests/html-document.js TAP .document() - js "type" is "esm" > should se
</html>
`

exports[`tests/html-document.js TAP .document() - no arguments given > should render template 1`] = `
exports[`tests/html-document.js > TAP > .document() - no arguments given > should render template 1`] = `
<!doctype html>
<html lang="en-US">
<head>
Expand Down

0 comments on commit 1d348ee

Please sign in to comment.