@@ -16,8 +16,6 @@ import assert from 'assert';
1616import { after , afterEach , before , beforeEach , describe , it } from 'mocha' ;
1717import * as crypto from 'crypto' ;
1818import * as fs from 'fs' ;
19- import fetch from 'node-fetch' ;
20- import FormData from 'form-data' ;
2119import pLimit from 'p-limit' ;
2220import * as path from 'path' ;
2321import * as tmp from 'tmp' ;
@@ -434,9 +432,9 @@ describe('storage', function () {
434432 resumable : false ,
435433 } ) ;
436434 const [ metadata ] = await file . getMetadata ( ) ;
437- const encyrptionAlgorithm =
435+ const encryptionAlgorithm =
438436 metadata . customerEncryption ?. encryptionAlgorithm ;
439- assert . strictEqual ( encyrptionAlgorithm , 'AES256' ) ;
437+ assert . strictEqual ( encryptionAlgorithm , 'AES256' ) ;
440438 } ) ;
441439
442440 it ( 'should set custom encryption in a resumable upload' , async ( ) => {
@@ -446,9 +444,9 @@ describe('storage', function () {
446444 resumable : true ,
447445 } ) ;
448446 const [ metadata ] = await file . getMetadata ( ) ;
449- const encyrptionAlgorithm =
447+ const encryptionAlgorithm =
450448 metadata . customerEncryption ?. encryptionAlgorithm ;
451- assert . strictEqual ( encyrptionAlgorithm , 'AES256' ) ;
449+ assert . strictEqual ( encryptionAlgorithm , 'AES256' ) ;
452450 } ) ;
453451
454452 it ( 'should make a file public during the upload' , async ( ) => {
0 commit comments