File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,13 +173,13 @@ describe('Promises API', () => {
173173 const stat = await vol . lstat ( '/foo' , { throwIfNoEntry : false } ) ;
174174 expect ( stat ) . toBeUndefined ( ) ;
175175 } ) ;
176- it ( 'Throws when entry does not exist if throwIfNoEntry is true' , async ( ) => {
176+ it ( 'Rejects when entry does not exist if throwIfNoEntry is true' , async ( ) => {
177177 await expect ( vol . lstat ( '/foo' , { throwIfNoEntry : true } ) ) . rejects . toBeInstanceOf ( Error ) ;
178178 } ) ;
179- it ( 'Throws when entry does not exist if throwIfNoEntry is not specified' , async ( ) => {
179+ it ( 'Rejects when entry does not exist if throwIfNoEntry is not specified' , async ( ) => {
180180 await expect ( vol . lstat ( '/foo' ) ) . rejects . toBeInstanceOf ( Error ) ;
181181 } ) ;
182- it ( 'Throws when entry does not exist if throwIfNoEntry is explicitly undefined' , async ( ) => {
182+ it ( 'Rejects when entry does not exist if throwIfNoEntry is explicitly undefined' , async ( ) => {
183183 await expect ( vol . lstat ( '/foo' , { throwIfNoEntry : undefined } ) ) . rejects . toBeInstanceOf ( Error ) ;
184184 } ) ;
185185 } ) ;
You can’t perform that action at this time.
0 commit comments