quanyawei
2024-08-28 247dacca9784396eeaf17ef3e85c7ae646b786e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { shallowMount } from '@vue/test-utils';
// import HelloWorld from '@/components/HelloWorld.vue';
 
import { fixedZero,  getTimeDistance } from '@/util/util';
import moment from 'moment';
 
describe('fixedZero', () => {
    test('fixedZero', () => {
        expect(fixedZero(1)).toBe('01');
        expect(fixedZero(12)).toBe(12);
    });
});
 
describe('getTimeDistance', () => {
    test('getTimeDistance today', () => {
    });
});