Skip to content

Commit

Permalink
use special character in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
AVaksman committed May 15, 2019
1 parent 819bbc7 commit ea8a586
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import {
PolicyDocument,
SetFileMetadataOptions,
} from '../src';
import { FILE } from 'dns';

let promisified = false;
let makeWritableStreamOverride: Function | null;
Expand Down Expand Up @@ -3248,6 +3249,7 @@ describe('File', () => {
});

it('should correctly format URL in the request', done => {
file = new File(BUCKET, 'my#file$.png');
const expecterURL = `http://${
BUCKET.name
}.storage.googleapis.com/${encodeURIComponent(file.name)}`;
Expand Down

0 comments on commit ea8a586

Please sign in to comment.