Skip to content

Commit 10f0982

Browse files
committed
fix(test): ensure number type
1 parent 9e6fb6b commit 10f0982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TestUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class TestUtils {
164164
do {
165165
var frame = stack.shift();
166166
} while (!frameRE.exec(frame) && stack.length);
167-
return frameRE.exec(stack.shift())[1];
167+
return Number(frameRE.exec(stack.shift())[1]);
168168
}
169169

170170
static getFilename = () => {

0 commit comments

Comments
 (0)