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 0b32b31 commit e2ea809Copy full SHA for e2ea809
tests/utlis/mocks/compiler.ts
@@ -30,9 +30,12 @@ function isRunRequest(url: URL | string) {
30
31
return (
32
uri.host === API_HOST &&
33
- (uri.pathname.match(/^\/?\/api\/\d+\.\d+\.\d+\/compiler\/run$/) !== null ||
34
- uri.pathname.match(/^\/?\/api\/\d+\.\d+\.\d+\/compiler\/translate$/) !==
35
- null)
+ (uri.pathname.match(
+ /^\/?\/api\/\d+\.\d+\.\d+(-[a-z]+.\d+)?\/compiler\/run$/,
+ ) !== null ||
36
+ uri.pathname.match(
37
+ /^\/?\/api\/\d+\.\d+\.\d+(-[a-z]+.\d+)?\/compiler\/translate$/,
38
+ ) !== null)
39
);
40
}
41
0 commit comments