feat: replace jest with vitest
This commit is contained in:
parent
bc4ea82639
commit
8114012997
14 changed files with 323 additions and 1406 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import {test, expect} from 'vitest'
|
||||
|
||||
import {calculateDayInterval} from './calculateDayInterval'
|
||||
|
||||
const days = {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
import {test, expect} from 'vitest'
|
||||
|
||||
import {calculateNearestHours} from './calculateNearestHours'
|
||||
|
||||
test('5:00', () => {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
import {test, expect} from 'vitest'
|
||||
|
||||
import {createDateFromString} from './createDateFromString'
|
||||
|
||||
test('YYYY-MM-DD HH:MM', () => {
|
||||
|
|
|
|||
Reference in a new issue