Skip to content

Commit 331a8ac

Browse files
committed
support windows paths
1 parent 5bddd48 commit 331a8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/config-syntax-error/config-syntax-error.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ it('should point to exact location of syntax error when parsing a malformed conf
2424
).rejects.toThrowError(
2525
gatewayRunner === 'bun' || gatewayRunner === 'bun-docker'
2626
? /error: Expected "{" but found "hello"(.|\n)*\/custom-resolvers.ts:8:11/
27-
: /SyntaxError \[Error\]: Error transforming (.*)\/custom-resolvers.ts: Unexpected token, expected "{" \(8:11\)/,
27+
: /SyntaxError \[Error\]: Error transforming .*(\/|\\)custom-resolvers.ts: Unexpected token, expected "{" \(8:11\)/,
2828
);
2929
});

0 commit comments

Comments
 (0)