Skip to content

Commit

Permalink
Delete creating variable options since it was unused
Browse files Browse the repository at this point in the history
  • Loading branch information
MilapNaik committed Mar 18, 2024
1 parent 2ad743a commit e6d8752
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/device.spec.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
import * as fsExtra from 'fs-extra';
import type { RokuDeployOptions } from './index';
import { rokuDeploy } from './index';
import { cwd, outDir, rootDir, tempDir, writeFiles } from './testUtils.spec';
import { cwd, rootDir, tempDir, writeFiles } from './testUtils.spec';
import * as dedent from 'dedent';

//these tests are run against an actual roku device. These cannot be enabled when run on the CI server
describe('device', function device() {
let options: RokuDeployOptions;

beforeEach(() => {
fsExtra.emptyDirSync(tempDir);
fsExtra.ensureDirSync(rootDir);
process.chdir(rootDir);
options = rokuDeploy.getOptions({
outDir: outDir,
host: '192.168.1.32',
retainDeploymentArchive: true,
password: 'aaaa',
devId: 'c6fdc2019903ac3332f624b0b2c2fe2c733c3e74',
rekeySignedPackage: `${cwd}/testSignedPackage.pkg`,
signingPassword: 'drRCEVWP/++K5TYnTtuAfQ=='
});

writeFiles(rootDir, [
['manifest', dedent`
Expand Down Expand Up @@ -61,5 +49,4 @@ describe('device', function device() {
});

this.timeout(20000);
console.log(options); // So there are no errors about unused variable
});

0 comments on commit e6d8752

Please sign in to comment.