Skip to content

Commit 7efd9de

Browse files
committed
Add a couple of debugger statements
1 parent 8eef2c7 commit 7efd9de

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

addon-test-support/asserts/assertion.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export default function() {
5858

5959
QUnit.assert.expectAssertion = function(cb, matcher) {
6060
// Save off the original adapter and replace it with a test one.
61+
debugger;
6162
let origTestAdapter = Ember.Test.adapter;
6263
let origLoggerError = Ember.Logger.error;
6364
Ember.run(() => {

tests/integration/assertion-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module('Assertion', function(hooks) {
1313
this.owner.register('component:x-assert-test', Ember.Component.extend({
1414
init() {
1515
this._super();
16+
debugger;
1617
Ember.assert('x-assert-test will always assert');
1718
}
1819
}));
@@ -22,7 +23,7 @@ module('Assertion', function(hooks) {
2223
await assert.expectAssertion(() => {
2324
return render(hbs`{{x-assert-test}}`);
2425
}, /x-assert-test will always assert/);
25-
26+
debugger;
2627
// Restore the asserts (removes the mocking)
2728
this.restoreAsserts();
2829

0 commit comments

Comments
 (0)