Skip to content

Commit 3a3cb79

Browse files
committed
fix: test
1 parent 0c66c39 commit 3a3cb79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/components/WorkspaceScheduleBanner/WorkspaceScheduleBanner.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ describe("WorkspaceScheduleBanner", () => {
1010
describe("shouldDisplay", () => {
1111
// Manual TTL case
1212
it("should not display if the build does not have a deadline", () => {
13-
// Given: a workspace with deadline of '"0001-01-01T00:00:00Z"'
13+
// Given: a workspace with deadline of undefined.
1414
const workspace: TypesGen.Workspace = {
1515
...Mocks.MockWorkspace,
1616
latest_build: {
1717
...Mocks.MockWorkspaceBuild,
18-
deadline: "0001-01-01T00:00:00Z",
18+
deadline: undefined,
1919
transition: "start",
2020
},
2121
}

0 commit comments

Comments
 (0)