File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tests/front-end/unit/lib/framework/component Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ describe("cmd", function () {
4242 } ) ;
4343 describe ( "and the resulting function is called once" , function ( ) {
4444 describe ( "and the debounce duration has passed" , function ( ) {
45- it ( "returns the dispatch Msg" , function ( done ) {
45+ // eslint-disable-next-line jest/no-done-callback
46+ it ( "returns the dispatch Msg" , async function ( done ) {
4647 const duration = 300 ;
4748 const dispatch = makeDebouncedDispatch ( duration ) ;
4849 const cmd = dispatch ( ) ;
@@ -64,6 +65,7 @@ describe("cmd", function () {
6465
6566 describe ( "and the resulting function is called multiple times during the debounce period" , function ( ) {
6667 describe ( "and the debounce duration has passed" , function ( ) {
68+ // eslint-disable-next-line jest/no-done-callback
6769 it ( "returns the noop Msg on the intermediary call and the dispatch Msg on the final call" , function ( done ) {
6870 const duration = 300 ;
6971 const dispatch = makeDebouncedDispatch ( duration ) ;
You can’t perform that action at this time.
0 commit comments