quanyawei
2024-06-18 cb0882e7c2194c398bb998c16e86a84c1b616cb0
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', () => {
    });
});