Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* bump: [email protected]

* fix: tests

Co-authored-by: Yusuke Sakurai <[email protected]>
  • Loading branch information
github-actions[bot] and keroxp authored Feb 23, 2020
1 parent 27badee commit 126f0d3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .denov
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.33.0
v0.34.0
6 changes: 2 additions & 4 deletions couch_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ const kDbName = "testdb";
const env = Deno.env();
const endpoint = env["COUCHDB_ENDPOINT"] || "http://127.0.0.1:5984";
const client = new CouchClient(endpoint);
const db = client.database(kDbName);

const db = client.database<any>(kDbName);

async function useDatabase(f: (db: string) => Promise<unknown>) {
const name = "testdb-" + Math.round(Math.random() * 10000000);
Expand Down Expand Up @@ -148,7 +147,7 @@ test(async function findDocument() {
name: "node"
})
]);
const res = await db.find({
const res = await db.find<any>({
id: 100
});
assertEquals(res.docs.length, 1);
Expand Down Expand Up @@ -205,4 +204,3 @@ test(async function deleteAttachment() {
test("afterAll", async () => {
await client.deleteDatabase(kDbName);
});

8 changes: 3 additions & 5 deletions modules-lock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"https://deno.land/std": {
"version": "@v0.33.0",
"modules": [
"/testing/asserts.ts"
]
"version": "@v0.34.0",
"modules": ["/testing/asserts.ts"]
}
}
}
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"https://deno.land/std": {
"version": "@v0.33.0",
"version": "@v0.34.0",
"modules": ["/testing/asserts.ts"]
}
}
2 changes: 1 addition & 1 deletion vendor/https/deno.land/std/testing/asserts.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "https://deno.land/std@v0.33.0/testing/asserts.ts";
export * from "https://deno.land/std@v0.34.0/testing/asserts.ts";

0 comments on commit 126f0d3

Please sign in to comment.