Skip to content

Commit 32dcd8f

Browse files
authored
vm: fix vm test (#2323)
1 parent eb7332e commit 32dcd8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vm/tests/tester/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ async function runTests() {
187187
if (argv.customStateTest !== undefined) {
188188
const fileName: string = argv.customStateTest
189189
tape(name, (t) => {
190-
getTestFromSource(fileName, async (err: string | undefined, test: any) => {
191-
if (err !== undefined) {
190+
getTestFromSource(fileName, async (err: string | null, test: any) => {
191+
if (err !== null) {
192192
return t.fail(err)
193193
}
194194
t.comment(`file: ${fileName} test: ${test.testName}`)

0 commit comments

Comments
 (0)