[JS TESTS] Rename JS_TESTS module to main

This commit is contained in:
Ivan Kylchik
2021-09-05 16:00:35 +03:00
parent 32e6d3908d
commit 3e1563d46e
21 changed files with 25 additions and 25 deletions
@@ -1,7 +1,7 @@
function createA() {
function ADerived() {
}
ADerived.prototype = Object.create(JS_TESTS.A.prototype);
ADerived.prototype = Object.create(main.A.prototype);
ADerived.prototype.foo = function(n) {
return 24;
};
@@ -11,7 +11,7 @@ function createA() {
function createB() {
function BDerived() {
}
BDerived.prototype = Object.create(JS_TESTS.B.prototype);
BDerived.prototype = Object.create(main.B.prototype);
BDerived.prototype.bar = function(n) {
return this.foo(n);
};