Skip to content

Commit

Permalink
Drop not supported nodes (#260)
Browse files Browse the repository at this point in the history
* fixup

Signed-off-by: Matteo Collina <[email protected]>

* fixup

Signed-off-by: Matteo Collina <[email protected]>

---------

Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina authored Jul 15, 2024
1 parent 664e489 commit 8ae14ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
with:
lint: true
license-check: true
node-versions: '["18", "20", "21", "22"]'
node-versions: '["20", "22"]'
3 changes: 1 addition & 2 deletions .taprc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
disable-coverage: true

allow-incomplete-coverage: true
files:
- test/**/*test.js
8 changes: 4 additions & 4 deletions test/lib/thenify.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const { test, mock } = require('tap')
const { test, mockRequire } = require('tap')
const { kThenifyDoNotWrap } = require('../../lib/symbols')

test('thenify', (t) => {
Expand All @@ -9,7 +9,7 @@ test('thenify', (t) => {
t.test('return undefined if booted', (t) => {
t.plan(2)

const { thenify } = mock('../../lib/thenify', {
const { thenify } = mockRequire('../../lib/thenify', {
'../../lib/debug': {
debug: (message) => { t.equal(message, 'thenify returning undefined because we are already booted') }
}
Expand All @@ -33,7 +33,7 @@ test('thenify', (t) => {
t.test('return PromiseConstructorLike if kThenifyDoNotWrap is false', (t) => {
t.plan(3)

const { thenify } = mock('../../lib/thenify', {
const { thenify } = mockRequire('../../lib/thenify', {
'../../lib/debug': {
debug: (message) => { t.equal(message, 'thenify') }
}
Expand All @@ -49,7 +49,7 @@ test('thenify', (t) => {
t.test('return PromiseConstructorLike', (t) => {
t.plan(3)

const { thenify } = mock('../../lib/thenify', {
const { thenify } = mockRequire('../../lib/thenify', {
'../../lib/debug': {
debug: (message) => { t.equal(message, 'thenify') }
}
Expand Down

0 comments on commit 8ae14ef

Please sign in to comment.