Skip to content

Commit

Permalink
Add basic setup method.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Oct 21, 2020
1 parent ee96122 commit 325be7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/qunit-dom-globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

import install from './install';

install(QUnit);
install(QUnit.assert);
10 changes: 8 additions & 2 deletions lib/qunit-dom-modules.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import * as QUnit from 'qunit';
import install from './install';
import attach from './install';

install(QUnit);
export { default as attach } from './install';

interface SetupOptions {}

export function setup(options: SetupOptions) {
attach(QUnit.assert);
}

0 comments on commit 325be7c

Please sign in to comment.