[K/JS] Migrate invalidation tests to ES modules
This commit is contained in:
-8
@@ -1,8 +0,0 @@
|
||||
(function (_) {
|
||||
'use strict';
|
||||
function externalDemoFunction() { return 3; }
|
||||
|
||||
_.externalDemoFunction = externalDemoFunction;
|
||||
|
||||
return _
|
||||
}(module.exports));
|
||||
+1
@@ -0,0 +1 @@
|
||||
export function externalDemoFunction() { return 3; }
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
(function (_) {
|
||||
'use strict';
|
||||
function externalDemoFunction() { return 0; }
|
||||
|
||||
_.externalDemoFunction = externalDemoFunction;
|
||||
|
||||
return _
|
||||
}(module.exports));
|
||||
+1
@@ -0,0 +1 @@
|
||||
export function externalDemoFunction() { return 0; }
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
(function (_) {
|
||||
'use strict';
|
||||
function externalDemoFunction() { return 2; }
|
||||
|
||||
_.externalDemoFunction = externalDemoFunction;
|
||||
|
||||
return _
|
||||
}(module.exports));
|
||||
+1
@@ -0,0 +1 @@
|
||||
export function externalDemoFunction() { return 2; }
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
(function (_) {
|
||||
'use strict';
|
||||
function externalDemoFunction() { return 1; }
|
||||
|
||||
_.externalDemoFunction = externalDemoFunction;
|
||||
|
||||
return _
|
||||
}(module.exports));
|
||||
+1
@@ -0,0 +1 @@
|
||||
export function externalDemoFunction() { return 1; }
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
(function (_) {
|
||||
'use strict';
|
||||
function externalDemoFunction() { return 5; }
|
||||
|
||||
_.externalDemoFunction = externalDemoFunction;
|
||||
|
||||
return _
|
||||
}(module.exports));
|
||||
+1
@@ -0,0 +1 @@
|
||||
export function externalDemoFunction() { return 5; }
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
(function (_) {
|
||||
'use strict';
|
||||
function externalDemoFunction() { return 4; }
|
||||
|
||||
_.externalDemoFunction = externalDemoFunction;
|
||||
|
||||
return _
|
||||
}(module.exports));
|
||||
+1
@@ -0,0 +1 @@
|
||||
export function externalDemoFunction() { return 4; }
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
@file:JsModule("js-module-a")
|
||||
@file:JsModule("./js-module-a.mjs")
|
||||
|
||||
external fun externalDemoFunction(): Int
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
@file:JsModule("js-module-a")
|
||||
@file:JsModule("./js-module-a.mjs")
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
@file:JsModule("js-module-a-new")
|
||||
@file:JsModule("./js-module-a-new.mjs")
|
||||
|
||||
external fun externalDemoFunction(): Int
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
@file:JsModule("js-module-b")
|
||||
@file:JsModule("./js-module-b.mjs")
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
@file:JsModule("js-module-b")
|
||||
@file:JsModule("./js-module-b.mjs")
|
||||
|
||||
external fun externalDemoFunction(): Int
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
@file:JsModule("js-module-b-new")
|
||||
@file:JsModule("./js-module-b-new.mjs")
|
||||
|
||||
external fun externalDemoFunction(): Int
|
||||
|
||||
Reference in New Issue
Block a user