parent
b3caddcfec
commit
78ae19fbad
|
@ -0,0 +1,12 @@
|
||||||
|
'use strict';
|
||||||
|
const util = require('../lib/test-utils.js');
|
||||||
|
|
||||||
|
describe('fs.mkdir does not recursively create parent directories when called with { recursive: true }, issue776', function() {
|
||||||
|
beforeEach(util.setup);
|
||||||
|
afterEach(util.cleanup);
|
||||||
|
|
||||||
|
it('should not throw when calling fs.mkdir with recursive flag set', function(done) {
|
||||||
|
const fs = util.fs();
|
||||||
|
fs.mkdir('/test_dir/a/b', { recursive: true }, done);
|
||||||
|
});
|
||||||
|
});
|
|
@ -92,6 +92,7 @@ require('./bugs/issue270.js');
|
||||||
require('./bugs/rename-dir-trailing-slash.js');
|
require('./bugs/rename-dir-trailing-slash.js');
|
||||||
require('./bugs/issue357.js');
|
require('./bugs/issue357.js');
|
||||||
require('./bugs/issue773.js');
|
require('./bugs/issue773.js');
|
||||||
|
require('./bugs/issue776.js');
|
||||||
|
|
||||||
// Sample code from README
|
// Sample code from README
|
||||||
require('./spec/readme.example.spec');
|
require('./spec/readme.example.spec');
|
||||||
|
|
Loading…
Reference in New Issue