Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use tape #95

Merged
merged 6 commits into from
Jun 27, 2024
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
test:
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.2.0
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.2.1
with:
license-check: true
node-versions: '["16", "18", "20"]'
node-versions: '["16", "18", "20", "22"]'
2 changes: 1 addition & 1 deletion .github/workflows/package-manager-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ on:

jobs:
test:
uses: fastify/workflows/.github/workflows/plugins-ci-package-manager.yml@v4.1.0
uses: fastify/workflows/.github/workflows/plugins-ci-package-manager.yml@v4.2.1
3 changes: 0 additions & 3 deletions .taprc

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint:fix": "standard --fix",
"test": "npm run lint && npm run test:unit && npm run test:typescript",
"test:ci": "npm run lint && npm run test:unit -- --coverage-report=lcovonly && npm run test:typescript",
"test:unit": "tap",
"test:unit": "npx tape test/**/*.js",
"test:unit:dev": "npm run test:unit -- --coverage-report=html",
"test:typescript": "tsd"
},
Expand All @@ -32,7 +32,7 @@
"coveralls": "^3.1.1",
"snazzy": "^9.0.0",
"standard": "^17.1.0",
"tap": "^18.7.2",
"tape": "^5.8.1",
"tsd": "^0.31.0",
"uri-js": "^4.4.1"
}
Expand Down
2 changes: 1 addition & 1 deletion test/ajv.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fastUri = require('../')
const ajv = new AJV({
uriResolver: fastUri // comment this line to see it works with uri-js
})
const { test } = require('tap')
const test = require('tape')

test('ajv', t => {
t.plan(1)
Expand Down
3 changes: 1 addition & 2 deletions test/compatibility.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const tap = require('tap')
const test = tap.test
const test = require('tape')
const fastifyURI = require('../')
const urijs = require('uri-js')

Expand Down
3 changes: 1 addition & 2 deletions test/equal.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const tap = require('tap')
const test = tap.test
const test = require('tape')
const URI = require('../')

const fn = URI.equal
Expand Down
3 changes: 1 addition & 2 deletions test/parse.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const tap = require('tap')
const test = tap.test
const test = require('tape')
const URI = require('../')

test('URI parse', (t) => {
Expand Down
3 changes: 1 addition & 2 deletions test/resolve.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const tap = require('tap')
const test = tap.test
const test = require('tape')
const URI = require('../')

test('URI Resolving', (t) => {
Expand Down
3 changes: 1 addition & 2 deletions test/serialize.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict'

const tap = require('tap')
const test = tap.test
const test = require('tape')
const URI = require('../')

test('URI Serialize', (t) => {
Expand Down
Loading