File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22const test = require ( 'tap' ) . test ;
33const delay = require ( 'delay' ) ;
4- const isPromise = require ( 'is-promise' ) ;
54const formatValue = require ( '../lib/format-assert-error' ) . formatValue ;
65const Test = require ( '../lib/test' ) ;
76
@@ -635,17 +634,6 @@ test('number of assertions doesn\'t match plan when the test exits, but before a
635634 t . end ( ) ;
636635} ) ;
637636
638- test ( 'assertions return promises' , t => {
639- ava ( a => {
640- a . plan ( 2 ) ;
641- t . ok ( isPromise ( a . throws ( Promise . reject ( new Error ( 'foo' ) ) ) ) ) ;
642- t . ok ( isPromise ( a . notThrows ( Promise . resolve ( true ) ) ) ) ;
643- } ) . run ( ) . then ( passed => {
644- t . is ( passed , true ) ;
645- t . end ( ) ;
646- } ) ;
647- } ) ;
648-
649637test ( 'contextRef' , t => {
650638 new Test ( {
651639 contextRef : { context : { foo : 'bar' } } ,
You can’t perform that action at this time.
0 commit comments