r3-v2/test/LinkingSystem.test.js

35 lines
541 B
JavaScript

const {expect} = require('chai');
const LinkingSystem = require('../src/r3/r3-system-linking');
const System = require('../src/r3/r3-system');
describe('Linking System Tests', () => {
it (
'Tests that the linking system instance of System',
() => {
let linkingSystem = new LinkingSystem();
let result = (linkingSystem instanceof System);
expect(result).to.be.true;
}
);
it (
'Tests that the linking system starts',
() => {
let result = LinkingSystem.start();
expect(result).to.be.true;
}
);
});