chore: restore production release gate

This commit is contained in:
2026-08-23 22:35:11 +05:30
parent d26403fce2
commit 2d1cda0eab
15 changed files with 188 additions and 46 deletions
+1 -5
View File
@@ -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";
+3 -4
View File
@@ -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 };
}