@@ -304,22 +304,6 @@ describe('fse-ensure-symlink', () => {
304
304
} )
305
305
}
306
306
307
- describe ( 'fs.symlink()' , ( ) => {
308
- const fn = fs . symlink
309
- tests . forEach ( test => {
310
- const args = test [ 0 ] . slice ( 0 )
311
- const nativeBehavior = test [ 1 ]
312
- // const newBehavior = test[2]
313
- if ( nativeBehavior === 'file-success' ) fileSuccess ( args , fn )
314
- if ( nativeBehavior === 'file-broken' ) fileBroken ( args , fn )
315
- if ( nativeBehavior === 'file-error' ) fileError ( args , fn )
316
- args . push ( 'dir' )
317
- if ( nativeBehavior === 'dir-success' ) dirSuccess ( args , fn )
318
- if ( nativeBehavior === 'dir-broken' ) dirBroken ( args , fn )
319
- if ( nativeBehavior === 'dir-error' ) dirError ( args , fn )
320
- } )
321
- } )
322
-
323
307
describe ( 'ensureSymlink()' , ( ) => {
324
308
const fn = ensureSymlink
325
309
tests . forEach ( test => {
@@ -358,22 +342,6 @@ describe('fse-ensure-symlink', () => {
358
342
} )
359
343
} )
360
344
361
- describe ( 'fs.symlinkSync()' , ( ) => {
362
- const fn = fs . symlinkSync
363
- tests . forEach ( test => {
364
- const args = test [ 0 ] . slice ( 0 )
365
- const nativeBehavior = test [ 1 ]
366
- // const newBehavior = test[2]
367
- if ( nativeBehavior === 'file-success' ) fileSuccessSync ( args , fn )
368
- if ( nativeBehavior === 'file-broken' ) fileBrokenSync ( args , fn )
369
- if ( nativeBehavior === 'file-error' ) fileErrorSync ( args , fn )
370
- args . push ( 'dir' )
371
- if ( nativeBehavior === 'dir-success' ) dirSuccessSync ( args , fn )
372
- if ( nativeBehavior === 'dir-broken' ) dirBrokenSync ( args , fn )
373
- if ( nativeBehavior === 'dir-error' ) dirErrorSync ( args , fn )
374
- } )
375
- } )
376
-
377
345
describe ( 'ensureSymlinkSync()' , ( ) => {
378
346
const fn = ensureSymlinkSync
379
347
tests . forEach ( test => {
0 commit comments