1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-26 10:35:48 +02:00

Remove Unnecessary Mock

This commit is contained in:
Justin Baur 2024-05-25 12:39:42 -04:00
parent df22809391
commit be91090081
No known key found for this signature in database

View File

@ -22,13 +22,6 @@ const deriveDefinition = new DeriveDefinition(stateDefinition, "test", {
cleanupDelayMs: 1000,
});
// Mock out the runInsideAngular operator so we don't have to deal with zone.js
jest.mock("../browser/run-inside-angular.operator", () => {
return {
runInsideAngular: (ngZone: any) => (source: any) => source,
};
});
describe("foreground background derived state interactions", () => {
let foreground: ForegroundDerivedState<Date>;
let background: BackgroundDerivedState<string, Date, Record<string, unknown>>;