mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Prevent errors during migration for invalid JSON
This commit is contained in:
@@ -63,6 +63,8 @@ describe('A server migrating from v6', (): void => {
|
||||
// Setup resources should have been migrated
|
||||
const setupDir = await readdir(joinFilePath(rootFilePath, '.internal/setup/'));
|
||||
expect(setupDir).toEqual([
|
||||
// Invalid JSON file was not deleted, only error was logged. Just in case its data needs to be saved.
|
||||
'aW52YWxpZFJlc291cmNl$.json',
|
||||
'current-base-url$.json',
|
||||
'current-server-version$.json',
|
||||
'setupCompleted-2.0$.json',
|
||||
|
||||
Reference in New Issue
Block a user