Skip to content

Commit

Permalink
allow a longer timeout for js acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Dec 29, 2024
1 parent c370383 commit b36e846
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions javascript/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ import formatter from './index.js'
const asyncPipeline = util.promisify(pipeline)
use(chaiXml)

describe('Acceptance Tests', async () => {
describe('Acceptance Tests', async function() {
this.timeout(10_000)

const ndjsonFiles = globbySync(`*.ndjson`, {
cwd: new URL(path.join(path.dirname(import.meta.url), '../../testdata')),
absolute: true,
Expand Down Expand Up @@ -44,7 +46,7 @@ describe('Acceptance Tests', async () => {
emit(envelope)
callback()
},
})
}),
)

const expectedXml = fs.readFileSync(ndjsonFile.replace('.ndjson', '.xml'), {
Expand Down

0 comments on commit b36e846

Please sign in to comment.