@dbos-inc/create 2.6.13-preview → 2.6.16-preview
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/package.json
CHANGED
|
@@ -20,7 +20,7 @@ describe('operations-test', () => {
|
|
|
20
20
|
expect(res).toMatch('Hello, dbos! We have made');
|
|
21
21
|
|
|
22
22
|
// Check the greet count.
|
|
23
|
-
const rows = await DBOS.
|
|
23
|
+
const rows = await DBOS.queryUserDB('SELECT * FROM dbos_hello WHERE greet_count=1');
|
|
24
24
|
expect(rows.length).toEqual(1);
|
|
25
25
|
});
|
|
26
26
|
|
|
@@ -19,7 +19,7 @@ describe('operations-test', () => {
|
|
|
19
19
|
expect(res).toMatch('Hello, dbos! You have been greeted');
|
|
20
20
|
|
|
21
21
|
// Check the greet count.
|
|
22
|
-
const rows = (await DBOS.
|
|
22
|
+
const rows = (await DBOS.queryUserDB('SELECT * FROM dbos_hello WHERE name=$1', ['dbos'])) as dbos_hello[];
|
|
23
23
|
expect(rows[0].greet_count).toBe(1);
|
|
24
24
|
});
|
|
25
25
|
|