Skip to content

Commit 565e6a7

Browse files
authored
test: migrated options.test.js from tap to node:test (#1157)
1 parent 2ea8fc5 commit 565e6a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/options.js renamed to test/options.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const proxyquire = require('proxyquire')
44
const sinon = require('sinon')
5-
const { test } = require('tap')
5+
const { test } = require('node:test')
66
const Fastify = require('fastify')
77

88
const schema = `
@@ -31,7 +31,7 @@ const resolvers = {
3131

3232
test('call compileQuery with correct options if compilerOptions specified', async t => {
3333
const app = Fastify()
34-
t.teardown(() => app.close())
34+
t.after(() => app.close())
3535

3636
const compileQueryStub = sinon.stub()
3737

0 commit comments

Comments
 (0)