File tree Expand file tree Collapse file tree 5 files changed +8
-12
lines changed
vendor/https/deno.land/std/testing Expand file tree Collapse file tree 5 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
- v0.33 .0
1
+ v0.34 .0
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ const kDbName = "testdb";
10
10
const env = Deno . env ( ) ;
11
11
const endpoint = env [ "COUCHDB_ENDPOINT" ] || "http://127.0.0.1:5984" ;
12
12
const client = new CouchClient ( endpoint ) ;
13
- const db = client . database ( kDbName ) ;
14
-
13
+ const db = client . database < any > ( kDbName ) ;
15
14
16
15
async function useDatabase ( f : ( db : string ) => Promise < unknown > ) {
17
16
const name = "testdb-" + Math . round ( Math . random ( ) * 10000000 ) ;
@@ -148,7 +147,7 @@ test(async function findDocument() {
148
147
name : "node"
149
148
} )
150
149
] ) ;
151
- const res = await db . find ( {
150
+ const res = await db . find < any > ( {
152
151
id : 100
153
152
} ) ;
154
153
assertEquals ( res . docs . length , 1 ) ;
@@ -205,4 +204,3 @@ test(async function deleteAttachment() {
205
204
test ( "afterAll" , async ( ) => {
206
205
await client . deleteDatabase ( kDbName ) ;
207
206
} ) ;
208
-
Original file line number Diff line number Diff line change 1
1
{
2
2
"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" ]
7
5
}
8
- }
6
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"https://deno.land/std" : {
3
- "version" : " @v0.33 .0" ,
3
+ "version" : " @v0.34 .0" ,
4
4
"modules" : [" /testing/asserts.ts" ]
5
5
}
6
6
}
Original file line number Diff line number Diff line change 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" ;
You can’t perform that action at this time.
0 commit comments