Skip to content

Commit d975a9d

Browse files
committed
fix: add match group
1 parent 15920de commit d975a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpApiMock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const steps = ({
2727
regExpMatchedStep(
2828
{
2929
regExp:
30-
/^this HTTP API Mock response for `(?<methodHostPathQuery>[A-Z]+ http?s:\/\/[^`]+)` is queued( and kept)?$/,
30+
/^this HTTP API Mock response for `(?<methodHostPathQuery>[A-Z]+ http?s:\/\/[^`]+)` is queued(?<keep> and kept)?$/,
3131
schema: Type.Object({
3232
methodHostPathQuery: Type.String(),
3333
keep: Type.Optional(Type.Literal(' and kept')),

0 commit comments

Comments
 (0)