Skip to content

Commit

Permalink
add failing javascriptcore test
Browse files Browse the repository at this point in the history
Cannot access 'NaN' before initialization
  • Loading branch information
doehyunbaek committed Nov 24, 2023
1 parent 783053c commit eebce27
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions tests/online/javascriptcore/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { delay } from '../../../dist/tests/test-utils.cjs'

export default async function test(analyser) {
const url = 'https://mbbill.github.io/JSC.js/demo/index.html'
const page = await analyser.start(url)
await delay(10000)
return await analyser.stop()
}
5 changes: 3 additions & 2 deletions tests/run-tests.cts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ async function runOnlineTests(names: string[]) {
'funky-kart',
'ffmpeg',
'sandspiel',
'image-convolute'
'image-convolute',
'javascriptcore',
]
names = names.filter((n) => !filter.includes(n))
for (let name of names) {
Expand Down Expand Up @@ -370,4 +371,4 @@ async function testWebPage(testPath: string): Promise<TestReport> {
await runOnlineTests(testNames)
}
// process.stdout.write(`done running ${nodeTestNames.length + webTestNames.length} tests\n`);
})()
})()

0 comments on commit eebce27

Please sign in to comment.