BREAKING CHANGE(Smarts3): Migrate Smarts3 configuration to nested server/storage objects and remove legacy flat config support

This commit is contained in:
2025-11-23 22:42:47 +00:00
parent 263e7a58b9
commit a9ba9de6be
5 changed files with 24 additions and 8 deletions

View File

@@ -7,8 +7,12 @@ let testSmarts3Instance: smarts3.Smarts3;
tap.test('should create a smarts3 instance and run it', async (toolsArg) => {
testSmarts3Instance = await smarts3.Smarts3.createAndStart({
port: 3333,
cleanSlate: true,
server: {
port: 3333,
},
storage: {
cleanSlate: true,
},
});
console.log(`Let the instance run for 2 seconds`);
await toolsArg.delayFor(2000);