Remove async await for Compiler.compile

This commit is contained in:
Dolan
2018-11-12 13:17:53 +00:00
parent 28fc328cb3
commit 765a9686d8
3 changed files with 6 additions and 6 deletions

View File

@ -17,7 +17,7 @@ describe("Compiler", () => {
describe("#compile()", () => {
it("should pack all the content", async function() {
this.timeout(99999999);
const zipFile = await compiler.compile(file);
const zipFile = compiler.compile(file);
const fileNames = Object.keys(zipFile.files).map((f) => zipFile.files[f].name);
expect(fileNames).is.an.instanceof(Array);
@ -46,7 +46,7 @@ describe("Compiler", () => {
this.timeout(99999999);
const zipFile = await compiler.compile(file);
const zipFile = compiler.compile(file);
const fileNames = Object.keys(zipFile.files).map((f) => zipFile.files[f].name);
expect(fileNames).is.an.instanceof(Array);