From f170285e0cad359de2726e4f0055c2ae799428b6 Mon Sep 17 00:00:00 2001 From: Huafu Gandon Date: Sun, 12 Aug 2018 19:24:28 +0200 Subject: [PATCH] fix: makes node6 happy --- e2e/jest.config.js | 5 ++--- src/utils/hacks.ts | 0 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 src/utils/hacks.ts diff --git a/e2e/jest.config.js b/e2e/jest.config.js index 0c83f1c1f4..b85bf2987c 100644 --- a/e2e/jest.config.js +++ b/e2e/jest.config.js @@ -1,9 +1,8 @@ const base = require('../jest.config'); -module.exports = { - ...base, +module.exports = Object.assign({}, base, { rootDir: '.', testRegex: '/__tests__/.+\\.(test|spec)\\.ts$', coverageDirectory: '/../coverage/e2e', snapshotSerializers: ['/__serializers__/test-run-result.ts'], -}; +}); diff --git a/src/utils/hacks.ts b/src/utils/hacks.ts new file mode 100644 index 0000000000..e69de29bb2