@roc-db/test-utils 0.2.0-pre.37 → 0.2.0-pre.38
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/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -466,7 +466,8 @@ var operations = [
|
|
|
466
466
|
];
|
|
467
467
|
// src/testAdapterImplementation.ts
|
|
468
468
|
import { beforeAll, describe, expect as expect2, test } from "bun:test";
|
|
469
|
-
import { BadRequestError, NotFoundError as NotFoundError2 } from "roc-db";
|
|
469
|
+
import { BadRequestError, NotFoundError as NotFoundError2, Snowflake } from "roc-db";
|
|
470
|
+
var snowflake = new Snowflake(10, 10);
|
|
470
471
|
var prepareChangeSetTest = async (adapter, adapter2) => {
|
|
471
472
|
const [post, createPostMutation] = await adapter.createPost({
|
|
472
473
|
title: "Title 1",
|
|
@@ -518,6 +519,7 @@ var testAdapterImplementation = async (adapterConstructor, generateArgs) => {
|
|
|
518
519
|
operations,
|
|
519
520
|
entities,
|
|
520
521
|
session: { identityRef: "User/42" },
|
|
522
|
+
snowflake,
|
|
521
523
|
...await generateArgs()
|
|
522
524
|
});
|
|
523
525
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roc-db/test-utils",
|
|
3
|
-
"version": "0.2.0-pre.
|
|
3
|
+
"version": "0.2.0-pre.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"sideEffects": false,
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"roc-db": "0.2.0-pre.
|
|
20
|
+
"roc-db": "0.2.0-pre.38",
|
|
21
21
|
"zod": "3.24.2"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [],
|