Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
6 changes: 3 additions & 3 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 All @@ -50,7 +50,7 @@
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"@babel/eslint-parser": "7.23.10",
"tap": "16.3.10",
"tap": "18.7.0",
"prettier": "3.2.4",
"@podium/schemas": "5.0.0"
},
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