Skip to content

Commit

Permalink
chore: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Nov 22, 2024
1 parent ec56f7e commit eafca8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/amis-formula/__tests__/fomula.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ test('formula:date', () => {
'CONCATENATE(STARTOF("2023-02-28", "day"), "," ,ENDOF("2023-02-28", "day"))'
)
).toBe(
`${moment('2023-02-28').startOf('day').toDate()},${moment('2023-02-28')
`${moment('2023-02-28').startOf('day').format()},${moment('2023-02-28')
.endOf('day')
.toDate()}`
.format()}`
);
expect(
evalFormual(
Expand Down

0 comments on commit eafca8c

Please sign in to comment.