chore: restore production release gate
This commit is contained in:
@@ -206,8 +206,4 @@ export type {
|
||||
export { withDatabaseRollback, createFactory, captureBrowserArtifacts } from "./platform.ts";
|
||||
export type { TransactionalDatabase, BrowserArtifactPage } from "./platform.ts";
|
||||
export { detectMutations } from "./mutation.ts";
|
||||
export type {
|
||||
MutationCase,
|
||||
MutationReport,
|
||||
DetectMutationsOptions,
|
||||
} from "./mutation.ts";
|
||||
export type { MutationCase, MutationReport, DetectMutationsOptions } from "./mutation.ts";
|
||||
|
||||
@@ -43,10 +43,9 @@ export async function detectMutations<T, O>(
|
||||
(same ? survived : killed).push(mutation.name);
|
||||
}
|
||||
if (survived.length) {
|
||||
throw Object.assign(
|
||||
new Error(`WRN-MUTATION-SURVIVED: ${survived.join(", ")}`),
|
||||
{ report: { baseline, killed, survived } },
|
||||
);
|
||||
throw Object.assign(new Error(`WRN-MUTATION-SURVIVED: ${survived.join(", ")}`), {
|
||||
report: { baseline, killed, survived },
|
||||
});
|
||||
}
|
||||
return { baseline, killed, survived };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user