Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
container = new Container();
compositionEngine = container.get(CompositionEngine);
});
beforeEach(() => {
let Container = require('aurelia-dependency-injection').Container;
let UI = require('../../../lib/ui').UI;
let FakeUI = require('../../mocks/ui');
let InputText = require('../../../lib/workflow/activities/input-text');
let container = new Container();
container.registerAlias(FakeUI, UI);
ui = container.get(UI);
sut = container.get(InputText);
});
beforeEach(() => {
let Container = require('aurelia-dependency-injection').Container;
let UI = require('../../../lib/ui').UI;
let FakeUI = require('../../mocks/ui');
let InputSelect = require('../../../lib/workflow/activities/input-select');
let container = new Container();
container.registerAlias(FakeUI, UI);
ui = container.get(UI);
sut = container.get(InputSelect);
});
beforeEach(() => {
let Container = require('aurelia-dependency-injection').Container;
let UI = require('../../../lib/ui').UI;
let FakeUI = require('../../mocks/ui');
let InputMultiselect = require('../../../lib/workflow/activities/input-multiselect');
let container = new Container();
container.registerAlias(FakeUI, UI);
ui = container.get(UI);
sut = container.get(InputMultiselect);
});