Skip to content

Commit 126f0d3

Browse files
* bump: [email protected] * fix: tests Co-authored-by: Yusuke Sakurai <[email protected]>
1 parent 27badee commit 126f0d3

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

.denov

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.33.0
1+
v0.34.0

couch_test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ const kDbName = "testdb";
1010
const env = Deno.env();
1111
const endpoint = env["COUCHDB_ENDPOINT"] || "http://127.0.0.1:5984";
1212
const client = new CouchClient(endpoint);
13-
const db = client.database(kDbName);
14-
13+
const db = client.database<any>(kDbName);
1514

1615
async function useDatabase(f: (db: string) => Promise<unknown>) {
1716
const name = "testdb-" + Math.round(Math.random() * 10000000);
@@ -148,7 +147,7 @@ test(async function findDocument() {
148147
name: "node"
149148
})
150149
]);
151-
const res = await db.find({
150+
const res = await db.find<any>({
152151
id: 100
153152
});
154153
assertEquals(res.docs.length, 1);
@@ -205,4 +204,3 @@ test(async function deleteAttachment() {
205204
test("afterAll", async () => {
206205
await client.deleteDatabase(kDbName);
207206
});
208-

modules-lock.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"https://deno.land/std": {
3-
"version": "@v0.33.0",
4-
"modules": [
5-
"/testing/asserts.ts"
6-
]
3+
"version": "@v0.34.0",
4+
"modules": ["/testing/asserts.ts"]
75
}
8-
}
6+
}

modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"https://deno.land/std": {
3-
"version": "@v0.33.0",
3+
"version": "@v0.34.0",
44
"modules": ["/testing/asserts.ts"]
55
}
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "https://deno.land/std@v0.33.0/testing/asserts.ts";
1+
export * from "https://deno.land/std@v0.34.0/testing/asserts.ts";

0 commit comments

Comments
 (0)