Skip to content

Commit b36e846

Browse files
committed
allow a longer timeout for js acceptance tests
1 parent c370383 commit b36e846

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

javascript/src/index.spec.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import formatter from './index.js'
1414
const asyncPipeline = util.promisify(pipeline)
1515
use(chaiXml)
1616

17-
describe('Acceptance Tests', async () => {
17+
describe('Acceptance Tests', async function() {
18+
this.timeout(10_000)
19+
1820
const ndjsonFiles = globbySync(`*.ndjson`, {
1921
cwd: new URL(path.join(path.dirname(import.meta.url), '../../testdata')),
2022
absolute: true,
@@ -44,7 +46,7 @@ describe('Acceptance Tests', async () => {
4446
emit(envelope)
4547
callback()
4648
},
47-
})
49+
}),
4850
)
4951

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

0 commit comments

Comments
 (0)