[gjs/esm/dynamic-imports] temp - cleanup



commit faf4df6924b6f5064c8974e59ef22cc5ea7eb1cd
Author: Evan Welsh <contact evanwelsh com>
Date:   Mon Feb 8 19:21:45 2021 -0800

    temp - cleanup

 installed-tests/js/modules/dynamic.js | 4 +++-
 installed-tests/js/testImporter.js    | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/installed-tests/js/modules/dynamic.js b/installed-tests/js/modules/dynamic.js
index 5fe44a73..383ee7a0 100644
--- a/installed-tests/js/modules/dynamic.js
+++ b/installed-tests/js/modules/dynamic.js
@@ -1,8 +1,10 @@
 // SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
 // SPDX-FileCopyrightText: 2021 Evan Welsh
 
+/* exported test */
+
 async function test() {
-    const { say } = await import('./say.js');
+    const {say} = await import('./say.js');
 
     return say('I did it!');
 }
diff --git a/installed-tests/js/testImporter.js b/installed-tests/js/testImporter.js
index 9d4b0d8b..58e9e9c5 100644
--- a/installed-tests/js/testImporter.js
+++ b/installed-tests/js/testImporter.js
@@ -238,14 +238,14 @@ describe('Importer', function () {
         expect(imports.foobar[0]).not.toBeDefined();
     });
 
-    it("scripts support relative dynamic imports", async function() {
-        const { say } = await import('./modules/say.js');
+    it('scripts support relative dynamic imports', async function () {
+        const {say} = await import('./modules/say.js');
 
         expect(typeof say).toBe('function');
         expect(say('hello')).toBe('<( hello )');
     });
 
-    it("imported scripts support relative dynamic imports", async function() {
+    it('imported scripts support relative dynamic imports', async function () {
         const response = await imports.dynamic.test();
 
         expect(response).toBe('<( I did it! )');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]