Skip to content

Commit

Permalink
[TS migration][G3] TS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruben-rebelo committed Mar 4, 2024
1 parent 3f02374 commit de50342
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
13 changes: 1 addition & 12 deletions tests/e2e/compare/compare.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
import type {Stats} from '../measure/math';
import getStats from '../measure/math';
import * as math from './math';
import type {Entry} from './output/console';
import printToConsole from './output/console';
import writeToMarkdown from './output/markdown';

type Entry = {
name: string;
baseline?: Stats;
current?: Stats;
diff?: number;
relativeDurationDiff?: number;
isDurationDiffOfSignificance?: boolean;
mean?: number;
};

type Metric = Record<string, number[]>;

/*
Expand Down Expand Up @@ -100,5 +91,3 @@ export default (main: Metric, delta: Metric, outputFile: string, outputFormat =
return writeToMarkdown(outputFile, outputData);
}
};

export type {Entry};
1 change: 0 additions & 1 deletion tests/utils/TestHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ function getGlobalFetchMock() {
return new Promise((resolve) => {
queue.push(resolve);
});

});

mockFetch.pause = () => (isPaused = true);
Expand Down

0 comments on commit de50342

Please sign in to comment.