Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
irataxy committed Jan 18, 2023
1 parent 21521ef commit b9cb172
Showing 1 changed file with 10 additions and 30 deletions.
40 changes: 10 additions & 30 deletions media/transcoder/test/transcoder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,7 @@ describe('Job functions preset', () => {
`node createJobFromPreset.js ${projectId} ${location} ${inputUri} ${outputUriForPreset} ${preset}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
presetJobId = output.toString().split('/').pop();
}

Expand Down Expand Up @@ -264,9 +262,7 @@ describe('Job functions template', () => {
`node createJobFromTemplate.js ${projectId} ${location} ${inputUri} ${outputUriForTemplate} ${templateId}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.templateJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -328,9 +324,7 @@ describe('Job functions adhoc', () => {
`node createJobFromAdHoc.js ${projectId} ${location} ${inputUri} ${outputUriForAdHoc}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.adhocJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -387,9 +381,7 @@ describe('Job with static overlay functions', () => {
`node createJobWithStaticOverlay.js ${projectId} ${location} ${inputUri} ${overlayUri} ${outputUriForStaticOverlay}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.staticOverlayJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -438,9 +430,7 @@ describe('Job with animated overlay functions', () => {
`node createJobWithAnimatedOverlay.js ${projectId} ${location} ${inputUri} ${overlayUri} ${outputUriForAnimatedOverlay}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.animatedOverlayJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -489,9 +479,7 @@ describe('Job with set number of images spritesheet', () => {
`node createJobWithSetNumberImagesSpritesheet.js ${projectId} ${location} ${inputUri} ${outputUriForSetNumberImagesSpritesheet}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.setNumberSpritesheetJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -557,9 +545,7 @@ describe('Job with periodic images spritesheet', () => {
`node createJobWithPeriodicImagesSpritesheet.js ${projectId} ${location} ${inputUri} ${outputUriForPeriodicImagesSpritesheet}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.periodicSpritesheetJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -625,9 +611,7 @@ describe('Job with concatenated inputs functions', () => {
`node createJobWithConcatenatedInputs.js ${projectId} ${location} ${concat1Uri} 0 8.1 ${concat2Uri} 3.5 15 ${outputUriForConcatenated}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.concatenatedJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -676,9 +660,7 @@ describe('Job with embedded captions', () => {
`node createJobWithEmbeddedCaptions.js ${projectId} ${location} ${inputUri} ${captionsUri} ${outputUriForEmbeddedCaptions}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.embeddedCaptionsJobId = output.toString().split('/').pop();
});

Expand Down Expand Up @@ -727,9 +709,7 @@ describe('Job with standalone captions', () => {
`node createJobWithStandaloneCaptions.js ${projectId} ${location} ${inputUri} ${captionsUri} ${outputUriForStandaloneCaptions}`,
{cwd}
);
assert.ok(
output.includes(`/locations/${location}/jobs/`)
);
assert.ok(output.includes(`/locations/${location}/jobs/`));
this.standaloneCaptionsJobId = output.toString().split('/').pop();
});

Expand Down

0 comments on commit b9cb172

Please sign in to comment.