fix TSamFailedOnly and the output formatting for the jest-runner
This commit is contained in:
@@ -91,11 +91,11 @@ describe("TSamFailedOnly", function()
|
||||
|
||||
assert.equals(2, #calls)
|
||||
assert.are.same(
|
||||
{ "npx", "jest", "--json", "/tmp/project/foo_failed_only.test.ts", "-t", "inner 2" },
|
||||
{ "npx", "jest", "--json", "--verbose", "/tmp/project/foo_failed_only.test.ts", "-t", "inner 2" },
|
||||
calls[1].cmd
|
||||
)
|
||||
assert.are.same(
|
||||
{ "npx", "jest", "--json", "-t", "outer inner 2", "/tmp/project/foo_failed_only.test.ts" },
|
||||
{ "npx", "jest", "--json", "--verbose", "-t", "outer inner 2", "/tmp/project/foo_failed_only.test.ts" },
|
||||
calls[2].cmd
|
||||
)
|
||||
end)
|
||||
@@ -332,7 +332,7 @@ describe("TSamFailedOnly", function()
|
||||
assert.equals(3, #calls)
|
||||
assert.are.same(calls[1].cmd, calls[3].cmd)
|
||||
assert.are.same(
|
||||
{ "npx", "jest", "--json", "-t", "outer inner 2", "/tmp/project/foo_failed_only_last.test.ts" },
|
||||
{ "npx", "jest", "--json", "--verbose", "-t", "outer inner 2", "/tmp/project/foo_failed_only_last.test.ts" },
|
||||
calls[2].cmd
|
||||
)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user