@rotorsoft/act-tck 1.38.31 → 1.39.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/store-tck.d.ts.map +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -4527,7 +4527,7 @@ var runStoreTck = (options) => {
|
|
|
4527
4527
|
await fresh.drop();
|
|
4528
4528
|
await fresh.seed();
|
|
4529
4529
|
const cache = new InMemoryCache();
|
|
4530
|
-
const app = act().withState(Ticket).build({ scoped: { store: fresh, cache } });
|
|
4530
|
+
const app = act().withState(Ticket).build({ autoSettle: false, scoped: { store: fresh, cache } });
|
|
4531
4531
|
const truncated = [];
|
|
4532
4532
|
app.on("closed", (r) => truncated.push(...r.truncated.keys()));
|
|
4533
4533
|
const stream = `ac-${uid()}`;
|
|
@@ -4695,7 +4695,10 @@ var runStoreTck = (options) => {
|
|
|
4695
4695
|
});
|
|
4696
4696
|
const restore = async (source, opts = {}) => {
|
|
4697
4697
|
const cache = new InMemoryCache();
|
|
4698
|
-
const app = act().build({
|
|
4698
|
+
const app = act().build({
|
|
4699
|
+
autoSettle: false,
|
|
4700
|
+
scoped: { store, cache }
|
|
4701
|
+
});
|
|
4699
4702
|
try {
|
|
4700
4703
|
return await app.restore(source, opts);
|
|
4701
4704
|
} finally {
|