Skip to content

Commit

Permalink
Fix unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffwan committed May 28, 2020
1 parent bb945ad commit c952943
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/lib/Utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
enabledDisplayString,
formatDateString,
generateMinioArtifactUrl,
generateS3ArtifactUrl,
getRunDuration,
getRunDurationFromWorkflow,
logger,
Expand Down Expand Up @@ -256,7 +257,7 @@ describe('Utils', () => {

describe('generateS3ArtifactUrl', () => {
it('handles s3:// URIs', () => {
expect(generateMinioArtifactUrl('s3://my-bucket/a/b/c')).toBe(
expect(generateS3ArtifactUrl('s3://my-bucket/a/b/c')).toBe(
'artifacts/get?source=s3&bucket=my-bucket&key=a/b/c',
);
});
Expand Down

0 comments on commit c952943

Please sign in to comment.