[K/JS] Migrate invalidation tests to ES modules

This commit is contained in:
Artem Kobzar
2023-06-30 16:13:35 +00:00
committed by Space Team
parent 209c916a7e
commit 966a342bf1
33 changed files with 14 additions and 138 deletions
@@ -1,8 +0,0 @@
(function (_) {
'use strict';
function externalDemoFunction() { return 3; }
_.externalDemoFunction = externalDemoFunction;
return _
}(module.exports));
@@ -0,0 +1 @@
export function externalDemoFunction() { return 3; }
@@ -1,8 +0,0 @@
(function (_) {
'use strict';
function externalDemoFunction() { return 0; }
_.externalDemoFunction = externalDemoFunction;
return _
}(module.exports));
@@ -0,0 +1 @@
export function externalDemoFunction() { return 0; }
@@ -1,8 +0,0 @@
(function (_) {
'use strict';
function externalDemoFunction() { return 2; }
_.externalDemoFunction = externalDemoFunction;
return _
}(module.exports));
@@ -0,0 +1 @@
export function externalDemoFunction() { return 2; }
@@ -1,8 +0,0 @@
(function (_) {
'use strict';
function externalDemoFunction() { return 1; }
_.externalDemoFunction = externalDemoFunction;
return _
}(module.exports));
@@ -0,0 +1 @@
export function externalDemoFunction() { return 1; }
@@ -1,8 +0,0 @@
(function (_) {
'use strict';
function externalDemoFunction() { return 5; }
_.externalDemoFunction = externalDemoFunction;
return _
}(module.exports));
@@ -0,0 +1 @@
export function externalDemoFunction() { return 5; }
@@ -1,8 +0,0 @@
(function (_) {
'use strict';
function externalDemoFunction() { return 4; }
_.externalDemoFunction = externalDemoFunction;
return _
}(module.exports));
@@ -0,0 +1 @@
export function externalDemoFunction() { return 4; }
@@ -1,3 +1,3 @@
@file:JsModule("js-module-a")
@file:JsModule("./js-module-a.mjs")
external fun externalDemoFunction(): Int
@@ -1 +1 @@
@file:JsModule("js-module-a")
@file:JsModule("./js-module-a.mjs")
@@ -1,3 +1,3 @@
@file:JsModule("js-module-a-new")
@file:JsModule("./js-module-a-new.mjs")
external fun externalDemoFunction(): Int
@@ -1 +1 @@
@file:JsModule("js-module-b")
@file:JsModule("./js-module-b.mjs")
@@ -1,3 +1,3 @@
@file:JsModule("js-module-b")
@file:JsModule("./js-module-b.mjs")
external fun externalDemoFunction(): Int
@@ -1,3 +1,3 @@
@file:JsModule("js-module-b-new")
@file:JsModule("./js-module-b-new.mjs")
external fun externalDemoFunction(): Int