Increase v2 test timeout
parent
c1c811e7a3
commit
31e28e862f
|
@ -4,7 +4,9 @@ import * as fs from 'node:fs/promises'
|
||||||
|
|
||||||
withFixture('v2', (c) => {
|
withFixture('v2', (c) => {
|
||||||
function testFixture(fixture) {
|
function testFixture(fixture) {
|
||||||
test(fixture, async () => {
|
test(
|
||||||
|
fixture,
|
||||||
|
async () => {
|
||||||
fixture = await fs.readFile(`tests/code-actions/${fixture}.json`, 'utf8')
|
fixture = await fs.readFile(`tests/code-actions/${fixture}.json`, 'utf8')
|
||||||
|
|
||||||
let { code, expected, language = 'html' } = JSON.parse(fixture)
|
let { code, expected, language = 'html' } = JSON.parse(fixture)
|
||||||
|
@ -29,7 +31,9 @@ withFixture('v2', (c) => {
|
||||||
expected = JSON.parse(JSON.stringify(expected).replaceAll('{{URI}}', textDocument.uri))
|
expected = JSON.parse(JSON.stringify(expected).replaceAll('{{URI}}', textDocument.uri))
|
||||||
|
|
||||||
expect(res).toEqual(expected)
|
expect(res).toEqual(expected)
|
||||||
})
|
},
|
||||||
|
10000
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// testFixture('conflict')
|
// testFixture('conflict')
|
||||||
|
|
Loading…
Reference in New Issue