chore: test case update

This commit is contained in:
liaoxuezhi 2024-11-21 16:31:06 +08:00
parent 436fb3dd33
commit ec56f7e1da

View File

@ -342,9 +342,9 @@ test('formula:date', async () => {
'CONCATENATE(STARTOF("2023-02-28", "day"), "," ,ENDOF("2023-02-28", "day"))' 'CONCATENATE(STARTOF("2023-02-28", "day"), "," ,ENDOF("2023-02-28", "day"))'
) )
).toBe( ).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') .endOf('day')
.toDate()}` .format()}`
); );
expect( expect(
await evalFormual( await evalFormual(