Skip to content

Commit

Permalink
Merge pull request #26 from canjs/landscaper/qunit2
Browse files Browse the repository at this point in the history
Landscaper: QUnit2 upgrade
  • Loading branch information
cherifGsoul committed May 27, 2019
2 parents a213443 + 2b4d557 commit 02bdcf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions can-event-dom-enter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ var supportsKeyboardEvents = (function () {
var compatWithNew = {
name: 'compat with can-dom-events',
domEvents: domEvents,
setup: function () {
beforeEach: function () {
this.removeEvent = compat(domEvents, enterEventType);
},
teardown: function () {
afterEach: function () {
this.removeEvent();
}
};

var rawNewDomEvents = {
name: 'plain with can-dom-events',
domEvents: domEvents,
setup: function () {
beforeEach: function () {
this.removeEvent = domEvents.addEvent(definition, enterEventType);
},
teardown: function () {
afterEach: function () {
this.removeEvent();
}
};
Expand All @@ -82,8 +82,8 @@ var suites = [

function runTests (mod) {
unit.module(mod.name, {
setup: mod.setup,
teardown: mod.teardown
beforeEach: mod.beforeEach,
afterEach: mod.afterEach
});

var domEvents = mod.domEvents;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"fixpack": "^2.3.1",
"jshint": "^2.9.1",
"steal": "^2.2.1",
"steal-qunit": "^1.0.1",
"steal-qunit": "^2.0.0",
"steal-tools": "^2.2.1",
"testee": "^0.9.0"
},
Expand Down

0 comments on commit 02bdcf9

Please sign in to comment.