@@ -24,10 +24,10 @@ const rows: Array<[BlobRow, string]> = [
2424]
2525
2626test ( 'blob-api' , async function ( t ) {
27- await t . test ( '/health' , async function ( t ) {
27+ await t . test ( '/health' , async function ( st ) {
2828 const route = '/health'
2929
30- await t . test ( 'should work' , async function ( ) {
30+ await st . test ( 'should work' , async function ( ) {
3131 const database = createDatabase ( )
3232
3333 try {
@@ -41,10 +41,10 @@ test('blob-api', async function (t) {
4141 } )
4242 } )
4343
44- await t . test ( getStorageBreakdown , async function ( t ) {
44+ await t . test ( getStorageBreakdown , async function ( st ) {
4545 const route = getStorageBreakdown
4646
47- await t . test ( 'should fail w/o `authorization`' , async function ( ) {
47+ await st . test ( 'should fail w/o `authorization`' , async function ( ) {
4848 const database = createDatabase ( )
4949
5050 try {
@@ -59,7 +59,7 @@ test('blob-api', async function (t) {
5959 }
6060 } )
6161
62- await t . test ( 'should fail w/ invalid `authorization`' , async function ( ) {
62+ await st . test ( 'should fail w/ invalid `authorization`' , async function ( ) {
6363 const database = createDatabase ( )
6464
6565 try {
@@ -76,7 +76,7 @@ test('blob-api', async function (t) {
7676 }
7777 } )
7878
79- await t . test ( 'should fail w/ invalid `authorization` (scheme)' , async function ( ) {
79+ await st . test ( 'should fail w/ invalid `authorization` (scheme)' , async function ( ) {
8080 const database = createDatabase ( )
8181
8282 try {
@@ -93,7 +93,7 @@ test('blob-api', async function (t) {
9393 }
9494 } )
9595
96- await t . test ( 'should fail w/o `did`' , async function ( ) {
96+ await st . test ( 'should fail w/o `did`' , async function ( ) {
9797 const database = createDatabase ( )
9898
9999 try {
@@ -107,7 +107,7 @@ test('blob-api', async function (t) {
107107 }
108108 } )
109109
110- await t . test ( 'should fail w/ invalid `did`' , async function ( ) {
110+ await st . test ( 'should fail w/ invalid `did`' , async function ( ) {
111111 const database = createDatabase ( )
112112
113113 try {
@@ -122,7 +122,7 @@ test('blob-api', async function (t) {
122122 }
123123 } )
124124
125- await t . test ( 'should work w/ `did`' , async function ( ) {
125+ await st . test ( 'should work w/ `did`' , async function ( ) {
126126 const database = createDatabase ( )
127127
128128 try {
@@ -144,10 +144,10 @@ test('blob-api', async function (t) {
144144 } )
145145 } )
146146
147- await t . test ( listBlobDetails , async function ( t ) {
147+ await t . test ( listBlobDetails , async function ( st ) {
148148 const route = listBlobDetails
149149
150- await t . test ( 'should fail w/o `authorization`' , async function ( ) {
150+ await st . test ( 'should fail w/o `authorization`' , async function ( ) {
151151 const database = createDatabase ( )
152152
153153 try {
@@ -162,7 +162,7 @@ test('blob-api', async function (t) {
162162 }
163163 } )
164164
165- await t . test ( 'should fail w/ invalid `authorization`' , async function ( ) {
165+ await st . test ( 'should fail w/ invalid `authorization`' , async function ( ) {
166166 const database = createDatabase ( )
167167
168168 try {
@@ -179,7 +179,7 @@ test('blob-api', async function (t) {
179179 }
180180 } )
181181
182- await t . test ( 'should fail w/ invalid `authorization` (scheme)' , async function ( ) {
182+ await st . test ( 'should fail w/ invalid `authorization` (scheme)' , async function ( ) {
183183 const database = createDatabase ( )
184184
185185 try {
@@ -196,7 +196,7 @@ test('blob-api', async function (t) {
196196 }
197197 } )
198198
199- await t . test ( 'should fail w/o `did`' , async function ( ) {
199+ await st . test ( 'should fail w/o `did`' , async function ( ) {
200200 const database = createDatabase ( )
201201
202202 try {
@@ -209,7 +209,7 @@ test('blob-api', async function (t) {
209209 database . close ( )
210210 }
211211 } )
212- await t . test ( 'should fail w/ invalid `did`' , async function ( ) {
212+ await st . test ( 'should fail w/ invalid `did`' , async function ( ) {
213213 const database = createDatabase ( )
214214
215215 try {
@@ -224,7 +224,7 @@ test('blob-api', async function (t) {
224224 }
225225 } )
226226
227- await t . test ( 'should work w/ `did`' , async function ( ) {
227+ await st . test ( 'should work w/ `did`' , async function ( ) {
228228 const database = createDatabase ( )
229229
230230 try {
@@ -239,7 +239,7 @@ test('blob-api', async function (t) {
239239 }
240240 } )
241241
242- await t . test ( 'should fail w/ invalid `limit`' , async function ( ) {
242+ await st . test ( 'should fail w/ invalid `limit`' , async function ( ) {
243243 const database = createDatabase ( )
244244
245245 try {
@@ -254,7 +254,7 @@ test('blob-api', async function (t) {
254254 }
255255 } )
256256
257- await t . test ( 'should fail w/ invalid `limit` (too small)' , async function ( ) {
257+ await st . test ( 'should fail w/ invalid `limit` (too small)' , async function ( ) {
258258 const database = createDatabase ( )
259259
260260 try {
@@ -269,7 +269,7 @@ test('blob-api', async function (t) {
269269 }
270270 } )
271271
272- await t . test ( 'should fail w/ invalid `limit` (too big)' , async function ( ) {
272+ await st . test ( 'should fail w/ invalid `limit` (too big)' , async function ( ) {
273273 const database = createDatabase ( )
274274
275275 try {
@@ -284,7 +284,7 @@ test('blob-api', async function (t) {
284284 }
285285 } )
286286
287- await t . test ( 'should work w/ `limit`' , async function ( ) {
287+ await st . test ( 'should work w/ `limit`' , async function ( ) {
288288 const database = createDatabase ( )
289289
290290 try {
@@ -300,7 +300,7 @@ test('blob-api', async function (t) {
300300 }
301301 } )
302302
303- await t . test ( 'should fail w/ invalid `category`' , async function ( ) {
303+ await st . test ( 'should fail w/ invalid `category`' , async function ( ) {
304304 const database = createDatabase ( )
305305
306306 try {
@@ -315,7 +315,7 @@ test('blob-api', async function (t) {
315315 }
316316 } )
317317
318- await t . test ( 'should work w/ `category`' , async function ( ) {
318+ await st . test ( 'should work w/ `category`' , async function ( ) {
319319 const database = createDatabase ( )
320320
321321 try {
@@ -330,7 +330,7 @@ test('blob-api', async function (t) {
330330 }
331331 } )
332332
333- await t . test ( 'should fail w/ invalid `cursor`' , async function ( ) {
333+ await st . test ( 'should fail w/ invalid `cursor`' , async function ( ) {
334334 const database = createDatabase ( )
335335
336336 try {
@@ -345,7 +345,7 @@ test('blob-api', async function (t) {
345345 }
346346 } )
347347
348- await t . test ( 'should work w/ `cursor`' , async function ( ) {
348+ await st . test ( 'should work w/ `cursor`' , async function ( ) {
349349 const database = createDatabase ( )
350350
351351 try {
@@ -366,8 +366,8 @@ test('blob-api', async function (t) {
366366 } )
367367 } )
368368
369- await t . test ( '*' , async function ( t ) {
370- await t . test ( 'should fail w/ an unknown route' , async function ( ) {
369+ await t . test ( '*' , async function ( st ) {
370+ await st . test ( 'should fail w/ an unknown route' , async function ( ) {
371371 const database = createDatabase ( )
372372
373373 try {
@@ -381,7 +381,7 @@ test('blob-api', async function (t) {
381381 }
382382 } )
383383
384- await t . test ( 'should fail w/ internal errors' , async function ( ) {
384+ await st . test ( 'should fail w/ internal errors' , async function ( ) {
385385 const error = new Error ( 'Boom!' )
386386 const database = {
387387 prepare ( ) : never {
0 commit comments