UNPKG

aedes-persistence

Version:

The spec for an Aedes persistence, with abstract tests and a fast in-memory implementation.

11 lines (9 loc) 284 B
const { test } = require('node:test') const AsyncMemory = require('../asyncPersistence.js') const abs = require('../abstract.js') // test asyncPersistence directly without promisified and callbackPersistence abs({ test, persistence: () => new AsyncMemory(), testAsync: true })