guoshipeng
2023-09-06 01b72c3ef8de7671065db88a105f8ff0b58834fe
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', () => {
    });
});