From c35472e94ddd8e840014a7877daf0b6fe64f067f Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Tue, 11 Aug 2020 16:07:02 +0100 Subject: [PATCH] Tests: Specify es2018 as preferred, matching normal usage Change-type: patch --- tests/config-tests.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/config-tests.ts b/tests/config-tests.ts index b1ba56a4..cd80dfc9 100644 --- a/tests/config-tests.ts +++ b/tests/config-tests.ts @@ -15,6 +15,10 @@ * limitations under the License. */ +import { set as setEsVersion } from '@balena/es-version'; +// Set the desired es version for downstream modules that support it +setEsVersion('es2018'); + import * as tmp from 'tmp'; tmp.setGracefulCleanup(); // Use a temporary dir for tests data