mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix settings file migration test
This commit is contained in:
parent
b61701fa17
commit
91c2f479bb
@ -62,7 +62,8 @@ describe('storage/localfilesystem/settings', function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
localfilesystemSettings.init({userDir:userDir}).then(async function() {
|
localfilesystemSettings.init({userDir:userDir}).then(async function() {
|
||||||
fs.existsSync(settingsFile).should.be.false();
|
// (For now) leave the old settings file in place
|
||||||
|
fs.existsSync(settingsFile).should.be.true();
|
||||||
await checkFile("nodes",{a:1})
|
await checkFile("nodes",{a:1})
|
||||||
await checkFile("users",{b:2})
|
await checkFile("users",{b:2})
|
||||||
await checkFile("projects",{c:3})
|
await checkFile("projects",{c:3})
|
||||||
|
Loading…
Reference in New Issue
Block a user