Skip to content

Commit

Permalink
chore(all): prepare release 1.0.0-beta.5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Sep 25, 2018
1 parent 054dab5 commit 93d9566
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-testing",
"version": "1.0.0-beta.4.0.0",
"version": "1.0.0-beta.5.0.0",
"description": "A collection of helpers for testing Aurelia apps and components.",
"keywords": [
"aurelia",
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ define(["require", "exports"], function (require, exports) {
return Promise.race([
new Promise(function (_, rj) { return setTimeout(function () {
timedOut = true;
rj(options.present ? 'Element not found' : 'Element not removed');
rj(new Error(options.present ? 'Element not found' : 'Element not removed'));
}, options.timeout); }),
wait()
]);
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function waitFor(getter, options) {
return Promise.race([
new Promise(function (_, rj) { return setTimeout(function () {
timedOut = true;
rj(options.present ? 'Element not found' : 'Element not removed');
rj(new Error(options.present ? 'Element not found' : 'Element not removed'));
}, options.timeout); }),
wait()
]);
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function waitFor(getter, options = { present: true, interval: 50, timeout
return Promise.race([
new Promise((_, rj) => setTimeout(() => {
timedOut = true;
rj(options.present ? 'Element not found' : 'Element not removed');
rj(new Error(options.present ? 'Element not found' : 'Element not removed'));
}, options.timeout)),
wait()
]);
Expand Down
2 changes: 1 addition & 1 deletion dist/es2017/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function waitFor(getter, options = { present: true, interval: 50, timeout
return Promise.race([
new Promise((_, rj) => setTimeout(() => {
timedOut = true;
rj(options.present ? 'Element not found' : 'Element not removed');
rj(new Error(options.present ? 'Element not found' : 'Element not removed'));
}, options.timeout)),
wait()
]);
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function waitFor(getter, options) {
return Promise.race([
new Promise(function (_, rj) { return setTimeout(function () {
timedOut = true;
rj(options.present ? 'Element not found' : 'Element not removed');
rj(new Error(options.present ? 'Element not found' : 'Element not removed'));
}, options.timeout); }),
wait()
]);
Expand Down
2 changes: 1 addition & 1 deletion dist/system/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ System.register([], function (exports_1, context_1) {
return Promise.race([
new Promise(function (_, rj) { return setTimeout(function () {
timedOut = true;
rj(options.present ? 'Element not found' : 'Element not removed');
rj(new Error(options.present ? 'Element not found' : 'Element not removed'));
}, options.timeout); }),
wait()
]);
Expand Down
11 changes: 11 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<a name="1.0.0-beta.5.0.0"></a>
# [1.0.0-beta.5.0.0](https://github.com/aurelia/testing/compare/1.0.0-beta.4.0.0...1.0.0-beta.5.0.0) (2018-09-25)


### Bug Fixes

* **code example:** fix to the manually handling lifecycle example ([#82](https://github.com/aurelia/testing/issues/82)) ([b0fb939](https://github.com/aurelia/testing/commit/b0fb939))
* **waitFor:** reject with Error rather than string ([#84](https://github.com/aurelia/testing/issues/84)) ([054dab5](https://github.com/aurelia/testing/commit/054dab5))



<a name="1.0.0-beta.4.0.0"></a>
# [1.0.0-beta.4.0.0](https://github.com/aurelia/testing/compare/1.0.0-beta.3.0.1...1.0.0-beta.4.0.0) (2017-11-06)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-testing",
"version": "1.0.0-beta.4.0.0",
"version": "1.0.0-beta.5.0.0",
"description": "A collection of helpers for testing Aurelia apps and components.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 93d9566

Please sign in to comment.