Skip to content

Commit

Permalink
make test immune to timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
scytacki committed Sep 26, 2024
1 parent 8aaffe3 commit f4a95b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/document/document-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("document utils", () => {
});
const appConfig = AppConfigModel.create({config: unitConfigDefaults});
const title = getDocumentDisplayTitle(unit, metadata, appConfig);
expect(title).toBe("Test Title (23FEB76-00:00:00)");
expect(title).toMatch(/Test Title \(23FEB76-..:..:..\)/);
});
});

Expand Down

0 comments on commit f4a95b5

Please sign in to comment.