mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-05-12 03:27:06 +08:00
@@ -44,7 +44,7 @@ describe('format duration', () => {
|
||||
|
||||
describe('format timestamp', () => {
|
||||
test.each([
|
||||
// [948602096, '2000-01-23 12:34:56'], # comment for timezone issue
|
||||
// [948602096, '2000-01-23 12:34:56'], # commented out due to timezone issue
|
||||
[null, ''],
|
||||
[-1, ''],
|
||||
])('case %#', (value, result) => {
|
||||
|
||||
@@ -14,6 +14,7 @@ const emtpyState: RootState = {
|
||||
preferences: null,
|
||||
pasteUrl: null,
|
||||
needAuth: false,
|
||||
query: null,
|
||||
};
|
||||
|
||||
const mockState = mock(emtpyState);
|
||||
|
||||
Reference in New Issue
Block a user