Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html

Issue 2654673003: Implement should().beRejectedWith() (Closed)
Patch Set: Fixed expected results Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
index cde5632b3dd68fa48e0f3c7eac3f04780107b2ab..7e6da6317188de7a5994f1ff88f5ddcb850d9308 100644
--- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
@@ -39,7 +39,9 @@
Promise.all([
should(oac.decodeAudioData(), 'Decoding audio data with no argument')
.beResolved(),
- should(oac.startRendering()).beRejected()
+ should(oac.startRendering(), 'Start OAC rendering').beRejected(),
+ should(oac.suspend(), 'Suspending OAC with no argument')
+ .beRejectedWith('IndexSizeError')
]).then(task.done.bind(task));
});

Powered by Google App Engine
This is Rietveld 408576698