Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 17, 2024
1 parent 48349ff commit 44ea012
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ describe("Plugin tests", () => {
isPrivate: false,
},
modified_at: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/),
created_at: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/),
caller: STRINGS.LOGS_ANON,
});
});
Expand Down Expand Up @@ -155,6 +156,7 @@ describe("Plugin tests", () => {
isPrivate: false,
},
modified_at: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/),
created_at: expect.stringMatching(/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/),
caller: STRINGS.LOGS_ANON,
});
});
Expand Down

0 comments on commit 44ea012

Please sign in to comment.