From d05bc9be4958b2d815b87c3388e304d2158ee024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Yves=20G=C3=A9rardy?= Date: Mon, 28 May 2018 00:05:46 +0200 Subject: [PATCH] [ospec] make it clear the timeout parameter is deprecated. --- ospec/change-log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospec/change-log.md b/ospec/change-log.md index 6171a587..77186634 100644 --- a/ospec/change-log.md +++ b/ospec/change-log.md @@ -11,7 +11,7 @@ _2018-xx-yy_ ### Features - Give async timeout a stack trace that points to the problematic test ([#2154](https://github.com/MithrilJS/mithril.js/pull/2154) [@gilbert](github.com/gilbert), [#2167](https://github.com/MithrilJS/mithril.js/pull/2167)) -- add `o.timeout()` for setting the timeout delay in Promise-based tests ([#2167](https://github.com/MithrilJS/mithril.js/pull/2167)) +- deprecate the `timeout` parameter in async tests in favour of `o.timeout()` for setting the timeout delay. The `timeout` parameter still works for v3, and will be removed in v4 ([#2167](https://github.com/MithrilJS/mithril.js/pull/2167)) - add `o.defaultTimeout()` for setting the the timeout delay for the current spec and its children ([#2167](https://github.com/MithrilJS/mithril.js/pull/2167)) ### Bug fixes