We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb7332e commit 32dcd8fCopy full SHA for 32dcd8f
packages/vm/tests/tester/index.ts
@@ -187,8 +187,8 @@ async function runTests() {
187
if (argv.customStateTest !== undefined) {
188
const fileName: string = argv.customStateTest
189
tape(name, (t) => {
190
- getTestFromSource(fileName, async (err: string | undefined, test: any) => {
191
- if (err !== undefined) {
+ getTestFromSource(fileName, async (err: string | null, test: any) => {
+ if (err !== null) {
192
return t.fail(err)
193
}
194
t.comment(`file: ${fileName} test: ${test.testName}`)
0 commit comments