From b36e8466136f22dc0004d54fed20b74a194e126b Mon Sep 17 00:00:00 2001 From: David Goss Date: Sun, 29 Dec 2024 17:20:02 +0000 Subject: [PATCH] allow a longer timeout for js acceptance tests --- javascript/src/index.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/javascript/src/index.spec.ts b/javascript/src/index.spec.ts index 849112f..74652e1 100644 --- a/javascript/src/index.spec.ts +++ b/javascript/src/index.spec.ts @@ -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, @@ -44,7 +46,7 @@ describe('Acceptance Tests', async () => { emit(envelope) callback() }, - }) + }), ) const expectedXml = fs.readFileSync(ndjsonFile.replace('.ndjson', '.xml'), {