feat(tapbundle,deno): replace smarts3 test tooling with smartstorage and pre-resolve Deno test dependencies
This commit is contained in:
@@ -83,16 +83,15 @@ class TapNodeTools {
|
||||
}
|
||||
|
||||
/**
|
||||
* create and return a smarts3 instance
|
||||
* create and return a smartstorage instance
|
||||
*/
|
||||
public async createSmarts3() {
|
||||
const smarts3Mod = await import('@push.rocks/smarts3');
|
||||
const smarts3Instance = new smarts3Mod.Smarts3({
|
||||
public async createSmartStorage() {
|
||||
const smartstorageMod = await import('@push.rocks/smartstorage');
|
||||
const smartstorageInstance = await smartstorageMod.SmartStorage.createAndStart({
|
||||
server: { port: 3003 },
|
||||
storage: { cleanSlate: true },
|
||||
});
|
||||
await smarts3Instance.start();
|
||||
return smarts3Instance;
|
||||
return smartstorageInstance;
|
||||
}
|
||||
|
||||
// ============
|
||||
|
||||
Reference in New Issue
Block a user