Skip to content

Commit 2ee8172

Browse files
committed
test: yield to warnings printer
1 parent 9a9f8a9 commit 2ee8172

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/fixtures/stacktrace.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
enum Foo {
22
A = "Hello, TypeScript!",
33
}
4-
throw new Error(Foo.A);
4+
5+
// Allow warnings about source maps to be shown for testing purposes.
6+
setImmediate(() => {
7+
throw new Error(Foo.A);
8+
});

0 commit comments

Comments
 (0)