mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix localfilesystem_spec
This commit is contained in:
parent
7eed375111
commit
5afc5857c4
@ -99,9 +99,11 @@ describe('LocalFileSystem', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should handle credentials', function(done) {
|
it('should handle credentials', function(done) {
|
||||||
|
var flowFile = 'test.json';
|
||||||
|
var flowFilePath = path.join(userDir,flowFile);
|
||||||
var credFile = path.join(userDir,"test_cred.json");
|
var credFile = path.join(userDir,"test_cred.json");
|
||||||
|
|
||||||
localfilesystem.init({userDir:userDir}).then(function() {
|
localfilesystem.init({userDir:userDir, flowFile:flowFilePath}).then(function() {
|
||||||
|
|
||||||
fs.existsSync(credFile).should.be.false;
|
fs.existsSync(credFile).should.be.false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user