KJS: introduce $kotlin_test_internal$ to expose some helper functions in the tests

This commit is contained in:
Zalim Bashorov
2017-01-17 22:46:56 +03:00
parent bbd69a05dc
commit ca2930600a
5 changed files with 22 additions and 13 deletions
@@ -1,4 +1,4 @@
__beginModule__();
$kotlin_test_internal$.beginModule();
module.exports = function(param) {
switch (typeof param) {
case "number":
@@ -9,4 +9,4 @@ module.exports = function(param) {
return "c";
}
};
__endModule__("lib");
$kotlin_test_internal$.endModule("lib");