Clean up code organizing tests structure

This commit is contained in:
Paulo Gustavo Veiga 2021-10-03 08:32:01 -07:00
parent 224f0f0446
commit 45e79205f1
13 changed files with 8 additions and 11 deletions

View File

@ -17,7 +17,7 @@
*/
const TestSuite = require('./TestSuite').default;
const Mindplot = require('../../../lib/mindplot');
const Mindplot = require('../../lib/mindplot');
const mindplot = Mindplot();
const BalancedTestSuite = new Class({

View File

@ -16,7 +16,7 @@
* limitations under the License.
*/
const TestSuite = require('./TestSuite').default;
const Mindplot = require('../../../lib/mindplot');
const Mindplot = require('../../lib/mindplot');
const mindplot = Mindplot();
const FreeTestSuite = new Class({

View File

@ -16,7 +16,7 @@
* limitations under the License.
*/
const TestSuite = require('./TestSuite').default;
const Mindplot = require('../../../lib/mindplot');
const Mindplot = require('../../lib/mindplot');
const mindplot = Mindplot();
const SymmetricTestSuite = new Class({

View File

@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const Mindplot = require('../../../lib/mindplot');
const Mindplot = require('../../lib/mindplot');
const mindplot = Mindplot();
const TestSuite = new Class({

View File

@ -1,10 +1,7 @@
const Mindplot = require('../../lib/mindplot');
global.mindplot = Mindplot();
const TestSuite = require('./lib/TestSuite').default;
const BalancedTestSuite = require('./lib/BalancedTestSuite').default;
const SymmetricTestSuite = require('./lib/SymmetricTestSuite').default;
const FreeTestSuite = require('./lib/FreeTestSuite').default;
const TestSuite = require('./TestSuite').default;
const BalancedTestSuite = require('./BalancedTestSuite').default;
const SymmetricTestSuite = require('./SymmetricTestSuite').default;
const FreeTestSuite = require('./FreeTestSuite').default;
window.addEventListener('DOMContentLoaded', function () {
var basicTest = new TestSuite();