quanyawei
2024-05-13 1ee177908aaf4cf2474384503404cd238036596c
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', () => {
    });
});