Skip to content

Commit

Permalink
fix(karam): ensure the element under testing is traced by webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Mar 27, 2019
1 parent 05c5980 commit d6bab9d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
import {bootstrap} from 'aurelia-bootstrapper';
import {StageComponent} from 'aurelia-testing';
// @if feat.webpack
import {PLATFORM} from 'aurelia-pal';
// @endif

describe('Stage App Component', () => {
let component;

beforeEach(() => {
component = StageComponent
// @if feat.webpack
.withResources(PLATFORM.moduleName('app'))
// @endif
// @if feat['cli-bundler']
.withResources('app')
// @endif
.inView('<app></app>');
});

Expand Down

0 comments on commit d6bab9d

Please sign in to comment.