Tests: Specify es2018 as preferred, matching normal usage

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-08-11 16:07:02 +01:00
parent 511bb05cb9
commit c35472e94d

View File

@ -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