Skip to content

Commit

Permalink
chore(deps): update dependency tap to v18 (#544)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Mar 7, 2024
1 parent f3595ab commit e73a3dc
Show file tree
Hide file tree
Showing 30 changed files with 1,315 additions and 226 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ tmp/**/*
*.log
coverage
.vscode
.nyc_output/
.nyc_output/
.tap/
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"scripts": {
"start": "node ./bin/eik-server.js | pino-pretty",
"test": "LOG_LEVEL=fatal tap ./test --no-check-coverage",
"test:snapshots:update": "LOG_LEVEL=fatal tap --snapshot",
"test": "LOG_LEVEL=fatal tap ./test --disable-coverage --allow-empty-coverage --serial=test",
"test:snapshots": "LOG_LEVEL=fatal tap --snapshot --disable-coverage --allow-empty-coverage --serial=test",
"lint:fix": "eslint --fix .",
"lint": "eslint ."
},
Expand Down Expand Up @@ -57,7 +57,7 @@
"pino-pretty": "10.3.1",
"prettier": "3.2.5",
"semantic-release": "23.0.2",
"tap": "16.3.10",
"tap": "18.7.0",
"unique-slug": "4.0.0"
}
}
4 changes: 2 additions & 2 deletions tap-snapshots/test/alias.map.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/alias.map.js TAP alias map - put alias, then get map through alias - non scoped > on GET of file, response should match snapshot 1`] = `
exports[`test/alias.map.js > TAP > alias map - put alias, then get map through alias - non scoped > on GET of file, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
},
}
`

exports[`test/alias.map.js TAP alias map - put alias, then get map through alias - scoped > on GET of file, response should match snapshot 1`] = `
exports[`test/alias.map.js > TAP > alias map - put alias, then get map through alias - scoped > on GET of file, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
Expand Down
22 changes: 22 additions & 0 deletions tap-snapshots/test/alias.map.test.js.test.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/alias.map.test.js > TAP > alias map - put alias, then get map through alias - non scoped > on GET of file, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
},
}
`

exports[`test/alias.map.test.js > TAP > alias map - put alias, then get map through alias - scoped > on GET of file, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
},
}
`
8 changes: 4 additions & 4 deletions tap-snapshots/test/alias.npm.js.test.cjs

Large diffs are not rendered by default.

150 changes: 150 additions & 0 deletions tap-snapshots/test/alias.npm.test.js.test.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions tap-snapshots/test/alias.pkg.js.test.cjs

Large diffs are not rendered by default.

150 changes: 150 additions & 0 deletions tap-snapshots/test/alias.pkg.test.js.test.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions tap-snapshots/test/map.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[`test/map.js TAP import-map - get map versions - non scoped > on GET of map versions, response should match snapshot 1`] = `
exports[`test/map.js > TAP > import-map - get map versions - non scoped > on GET of map versions, response should match snapshot 1`] = `
Object {
"name": "buzz",
"org": "local",
Expand All @@ -29,7 +29,7 @@ Object {
}
`

exports[`test/map.js TAP import-map - get map versions - scoped > on GET of map versions, response should match snapshot 1`] = `
exports[`test/map.js > TAP > import-map - get map versions - scoped > on GET of map versions, response should match snapshot 1`] = `
Object {
"name": "@cuz/buzz",
"org": "local",
Expand All @@ -53,15 +53,15 @@ Object {
}
`

exports[`test/map.js TAP import-map - put map -> get map - non scoped successfully uploaded > on GET of map, response should match snapshot 1`] = `
exports[`test/map.js > TAP > import-map - put map -> get map - non scoped successfully uploaded > on GET of map, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
},
}
`

exports[`test/map.js TAP import-map - put map -> get map - scoped successfully uploaded > on GET of map, response should match snapshot 1`] = `
exports[`test/map.js > TAP > import-map - put map -> get map - scoped successfully uploaded > on GET of map, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
Expand Down
70 changes: 70 additions & 0 deletions tap-snapshots/test/map.test.js.test.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/map.test.js > TAP > import-map - get map versions - non scoped > on GET of map versions, response should match snapshot 1`] = `
Object {
"name": "buzz",
"org": "local",
"type": "map",
"versions": Array [
Array [
5,
Object {
"integrity": "sha512-Xsex3JB8ymI7lc30kdrQ2FZYKVh25UQxpRo38HW5L6Ldnu4f5nQ0ZtDEG4AsKXT8FAbg0DGrfxV7grC2AI/RRQ==",
"version": "5.2.2",
},
],
Array [
4,
Object {
"integrity": "sha512-Xsex3JB8ymI7lc30kdrQ2FZYKVh25UQxpRo38HW5L6Ldnu4f5nQ0ZtDEG4AsKXT8FAbg0DGrfxV7grC2AI/RRQ==",
"version": "4.9.2",
},
],
],
}
`

exports[`test/map.test.js > TAP > import-map - get map versions - scoped > on GET of map versions, response should match snapshot 1`] = `
Object {
"name": "@cuz/buzz",
"org": "local",
"type": "map",
"versions": Array [
Array [
5,
Object {
"integrity": "sha512-Xsex3JB8ymI7lc30kdrQ2FZYKVh25UQxpRo38HW5L6Ldnu4f5nQ0ZtDEG4AsKXT8FAbg0DGrfxV7grC2AI/RRQ==",
"version": "5.2.2",
},
],
Array [
4,
Object {
"integrity": "sha512-Xsex3JB8ymI7lc30kdrQ2FZYKVh25UQxpRo38HW5L6Ldnu4f5nQ0ZtDEG4AsKXT8FAbg0DGrfxV7grC2AI/RRQ==",
"version": "4.9.2",
},
],
],
}
`

exports[`test/map.test.js > TAP > import-map - put map -> get map - non scoped successfully uploaded > on GET of map, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
},
}
`

exports[`test/map.test.js > TAP > import-map - put map -> get map - scoped successfully uploaded > on GET of map, response should match snapshot 1`] = `
Object {
"imports": Object {
"fuzz": "http://localhost:4001/finn/pkg/fuzz/v8",
},
}
`
12 changes: 6 additions & 6 deletions tap-snapshots/test/npm.js.test.cjs

Large diffs are not rendered by default.

198 changes: 198 additions & 0 deletions tap-snapshots/test/npm.test.js.test.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions tap-snapshots/test/pkg-put-write-integrity.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[`test/pkg-put-write-integrity.js TAP Sink is slow and irregular - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow and irregular - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
Object {
"author": Object {
"name": "Generic User",
Expand Down Expand Up @@ -72,7 +72,7 @@ Object {
}
`

exports[`test/pkg-put-write-integrity.js TAP Sink is slow and irregular - Writing small sized package > on GET of package, response should match snapshot 1`] = `
exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow and irregular - Writing small sized package > on GET of package, response should match snapshot 1`] = `
Object {
"author": Object {
"name": "Generic User",
Expand Down Expand Up @@ -132,7 +132,7 @@ Object {
}
`

exports[`test/pkg-put-write-integrity.js TAP Sink is slow to construct writer - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow to construct writer - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
Object {
"author": Object {
"name": "Generic User",
Expand Down Expand Up @@ -199,7 +199,7 @@ Object {
}
`

exports[`test/pkg-put-write-integrity.js TAP Sink is slow to construct writer - Writing small sized package > on GET of package, response should match snapshot 1`] = `
exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow to construct writer - Writing small sized package > on GET of package, response should match snapshot 1`] = `
Object {
"author": Object {
"name": "Generic User",
Expand Down
Loading

0 comments on commit e73a3dc

Please sign in to comment.