All files / src/migrations/utils migration.ts

100% Statements 10/10
100% Branches 0/0
100% Functions 3/3
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 1039x   39x 9x   39x 8x   99x  
let hasMigrationFailure: boolean = false;
 
export const resetMigrationFailure = () => {
  hasMigrationFailure = false;
};
export const setMigrationFailed = () => {
  hasMigrationFailure = true;
};
export const isMigrationFailed = () => hasMigrationFailure;