@fireproof/core-test 0.23.7-dev-preview4 → 0.23.10
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/fireproof/attachable-subscription.test.js +2 -2
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -202,7 +202,7 @@ pnpm run test -t 'test name pattern' path/to/test/file
|
|
|
202
202
|
For example, to run a specific test for the CRDT module, in just one project:
|
|
203
203
|
|
|
204
204
|
```bash
|
|
205
|
-
FP_DEBUG=Loader pnpm run test --project file -t 'codec implict iv' crdt
|
|
205
|
+
FP_DEBUG='Loader,CRDTClock' pnpm run test --project file -t 'codec implict iv' crdt
|
|
206
206
|
```
|
|
207
207
|
|
|
208
208
|
For testing React components, you can use:
|
|
@@ -2,7 +2,7 @@ import { AppContext, BuildURI } from "@adviser/cement";
|
|
|
2
2
|
import { fireproof, PARAM } from "@fireproof/core";
|
|
3
3
|
import { afterEach, beforeEach, describe, expect, it } from "vitest";
|
|
4
4
|
import { ensureSuperThis, sleep } from "@fireproof/core-runtime";
|
|
5
|
-
const ROWS =
|
|
5
|
+
const ROWS = 1;
|
|
6
6
|
class AJoinable {
|
|
7
7
|
name;
|
|
8
8
|
db;
|
|
@@ -245,7 +245,7 @@ describe("Remote Sync Subscription Tests", () => {
|
|
|
245
245
|
});
|
|
246
246
|
expect(totalSubscriptionFires).toBeGreaterThan(0);
|
|
247
247
|
expect(totalSubscriptionFires).toBeGreaterThanOrEqual(dbs.length);
|
|
248
|
-
await sleep(
|
|
248
|
+
await sleep(5000);
|
|
249
249
|
await Promise.all(dbs.map(async (db) => {
|
|
250
250
|
const allDocs = await db.db.allDocs();
|
|
251
251
|
expect(allDocs.rows.length).toBe(keys.length * 2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fireproof/core-test",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.10",
|
|
4
4
|
"description": "Live ledger for the web.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -35,32 +35,32 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@adviser/cement": "^0.4.25",
|
|
38
|
-
"@fireproof/core": "0.23.
|
|
39
|
-
"@fireproof/core-base": "0.23.
|
|
40
|
-
"@fireproof/core-blockstore": "0.23.
|
|
41
|
-
"@fireproof/core-gateways-base": "0.23.
|
|
42
|
-
"@fireproof/core-gateways-file": "0.23.
|
|
43
|
-
"@fireproof/core-gateways-indexeddb": "0.23.
|
|
44
|
-
"@fireproof/core-gateways-memory": "0.23.
|
|
45
|
-
"@fireproof/core-keybag": "0.23.
|
|
46
|
-
"@fireproof/core-protocols-cloud": "0.23.
|
|
47
|
-
"@fireproof/core-runtime": "0.23.
|
|
48
|
-
"@fireproof/core-types-base": "0.23.
|
|
49
|
-
"@fireproof/core-types-blockstore": "0.23.
|
|
50
|
-
"@fireproof/core-types-protocols-cloud": "0.23.
|
|
51
|
-
"@fireproof/core-types-runtime": "0.23.
|
|
52
|
-
"@fireproof/vendor": "0.23.
|
|
38
|
+
"@fireproof/core": "0.23.10",
|
|
39
|
+
"@fireproof/core-base": "0.23.10",
|
|
40
|
+
"@fireproof/core-blockstore": "0.23.10",
|
|
41
|
+
"@fireproof/core-gateways-base": "0.23.10",
|
|
42
|
+
"@fireproof/core-gateways-file": "0.23.10",
|
|
43
|
+
"@fireproof/core-gateways-indexeddb": "0.23.10",
|
|
44
|
+
"@fireproof/core-gateways-memory": "0.23.10",
|
|
45
|
+
"@fireproof/core-keybag": "0.23.10",
|
|
46
|
+
"@fireproof/core-protocols-cloud": "0.23.10",
|
|
47
|
+
"@fireproof/core-runtime": "0.23.10",
|
|
48
|
+
"@fireproof/core-types-base": "0.23.10",
|
|
49
|
+
"@fireproof/core-types-blockstore": "0.23.10",
|
|
50
|
+
"@fireproof/core-types-protocols-cloud": "0.23.10",
|
|
51
|
+
"@fireproof/core-types-runtime": "0.23.10",
|
|
52
|
+
"@fireproof/vendor": "0.23.10",
|
|
53
53
|
"@ipld/car": "^5.4.2",
|
|
54
54
|
"@ipld/dag-cbor": "^9.2.4",
|
|
55
55
|
"@ipld/dag-json": "^10.2.5",
|
|
56
56
|
"@types/node": "^24.3.0",
|
|
57
57
|
"cborg": "^4.2.12",
|
|
58
58
|
"charwise": "^3.0.1",
|
|
59
|
-
"use-fireproof": "0.23.
|
|
59
|
+
"use-fireproof": "0.23.10",
|
|
60
60
|
"uuidv7": "^1.0.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@fireproof/core-cli": "0.23.
|
|
63
|
+
"@fireproof/core-cli": "0.23.10",
|
|
64
64
|
"@vitest/browser": "^3.2.4",
|
|
65
65
|
"playwright": "^1.54.1",
|
|
66
66
|
"playwright-chromium": "^1.54.1",
|