fix: js unit test when save dash (#11632)

This commit is contained in:
Grace Guo 2020-11-09 17:56:30 -08:00 committed by GitHub
parent d315dd96f0
commit 966a826720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ describe('dashboardState reducer', () => {
{}, {},
); );
const lastModifiedTime = Math.round(new Date().getTime() / 1000); const lastModifiedTime = new Date().getTime() / 1000;
expect( expect(
dashboardStateReducer( dashboardStateReducer(
{ hasUnsavedChanges: true }, { hasUnsavedChanges: true },