@sprucelabs/heartwood-view-controllers 117.2.25 → 117.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,7 +66,7 @@ export default class MockActiveRecordCard extends ActiveRecordCardViewController
66
66
  assert.isTrue(this.getIsLoaded(), `Your active record card is not loaded! Try 'this.activeRecordVc.load()' in your view's 'load(...)' method.`);
67
67
  }
68
68
  assertRefreshCount(expected) {
69
- assert.isEqual(this.refreshCount, expected, `Your active record card has been refreshed the expected times. Try 'this.activeRecordVc.refresh()'.`);
69
+ assert.isEqual(this.refreshCount, expected, `Your active record card has not been refreshed the expected times. Try 'this.activeRecordVc.refresh()'.`);
70
70
  }
71
71
  refresh() {
72
72
  const _super = Object.create(null, {
@@ -76,7 +76,7 @@ const vcAssert = {
76
76
  });
77
77
  const actionPromise = action();
78
78
  yield wait(actionPromise, confirmPromise);
79
- assert.isTrue(wasHit, `this.confirm() was not invoked in your view controller within ${WAIT_TIMEOUT} milliseconds.`);
79
+ assert.isTrue(wasHit, `await this.confirm() was not invoked in your view controller within ${WAIT_TIMEOUT} milliseconds.`);
80
80
  return confirmVc;
81
81
  });
82
82
  },
@@ -95,7 +95,7 @@ class MockActiveRecordCard extends ActiveRecordCard_vc_1.default {
95
95
  test_utils_1.assert.isTrue(this.getIsLoaded(), `Your active record card is not loaded! Try 'this.activeRecordVc.load()' in your view's 'load(...)' method.`);
96
96
  }
97
97
  assertRefreshCount(expected) {
98
- test_utils_1.assert.isEqual(this.refreshCount, expected, `Your active record card has been refreshed the expected times. Try 'this.activeRecordVc.refresh()'.`);
98
+ test_utils_1.assert.isEqual(this.refreshCount, expected, `Your active record card has not been refreshed the expected times. Try 'this.activeRecordVc.refresh()'.`);
99
99
  }
100
100
  async refresh() {
101
101
  this.refreshCount++;
@@ -73,7 +73,7 @@ const vcAssert = {
73
73
  });
74
74
  const actionPromise = action();
75
75
  await (0, assertSupport_1.wait)(actionPromise, confirmPromise);
76
- test_utils_1.assert.isTrue(wasHit, `this.confirm() was not invoked in your view controller within ${assertSupport_1.WAIT_TIMEOUT} milliseconds.`);
76
+ test_utils_1.assert.isTrue(wasHit, `await this.confirm() was not invoked in your view controller within ${assertSupport_1.WAIT_TIMEOUT} milliseconds.`);
77
77
  return confirmVc;
78
78
  },
79
79
  async assertDoesNotRenderConfirm(vc, action) {
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "sideEffects": false,
14
14
  "license": "MIT",
15
15
  "description": "All the power of Heartwood in one, convenient package.",
16
- "version": "117.2.25",
16
+ "version": "117.2.26",
17
17
  "skill": {
18
18
  "namespace": "HeartwoodViewControllers",
19
19
  "commandOverrides": {