fix build by adding `'use strict'; to generated 'async.load.js'

This commit is contained in:
Erik Erikson 2017-12-06 16:38:51 -08:00
parent d6abd689b6
commit c8ebe25968

View File

@ -263,7 +263,7 @@ describe('Variables', () => {
const makeAsyncLoadJs = () => {
const SUtils = new Utils();
const tmpDirPath = testUtils.getTmpDirPath();
const fileContent = `
const fileContent = `'use strict';
let i = 0
const str = () => new Promise((resolve) => {
setTimeout(() => {