test: remove duplicate result assertions before throwing guards
This commit is contained in:
1 parent
5945915f91
commit
a1b7d40bb0
33 files changed
-62
No files matched your search
@@ -198,7 +198,6 @@ describe("PlaywrightBrowserScenarioProvider", () => {
|
||||
const result = await provider.captureScenario(
|
||||
scenario({ events: ["frames"] }),
|
||||
);
|
||||
expect(result.ok).toBe(true);
|
||||
if (!result.ok) throw result.error;
|
||||
expect(result.value.completeness).toMatchObject({
|
||||
status: "incomplete",
|
||||
|
||||
Reference in new issue
Block a user