Skip to content

Commit

Permalink
Skip flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jul 20, 2023
1 parent 6832715 commit a4b3693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/print-plugins.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test('should print plugins', async t => {
t.match(spy.args[0][1], /bound root \d+ ms\n├── bound _after \d+ ms\n├─┬ function \(fastify, options, next\) { -- fastify\.decorate\('test', true\) \d+ ms\n│ ├── bound _after \d+ ms\n│ ├── bound _after \d+ ms\n│ └── bound _after \d+ ms\n└── bound _after \d+ ms\n/)
})

test('should plugins routes via cli', async t => {
test('should plugins routes via cli', { skip: process.platform === 'linux' && process.version.startsWith('v20') }, async t => {
t.plan(1)
const output = execSync('node cli.js print-plugins ./examples/plugin.js', { encoding: 'utf-8' })
t.match(
Expand Down

0 comments on commit a4b3693

Please sign in to comment.