Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
MilapNaik committed Mar 23, 2024
1 parent b298acb commit d9397d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RokuDeploy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3144,15 +3144,15 @@ describe('index', () => {
});

it('throws error when rekeyDevice is missing required options', async () => {
const requiredOptions: Partial<RekeyDeviceOptions> = { host: '1.2.3.4', password: 'abcd', rekeySignedPackage: 'abcd', signingPassword: 'abcd'};
const requiredOptions: Partial<RekeyDeviceOptions> = { host: '1.2.3.4', password: 'abcd', rekeySignedPackage: 'abcd', signingPassword: 'abcd' };
await testRequiredOptions('rekeyDevice', requiredOptions, 'host');
await testRequiredOptions('rekeyDevice', requiredOptions, 'password');
await testRequiredOptions('rekeyDevice', requiredOptions, 'rekeySignedPackage');
await testRequiredOptions('rekeyDevice', requiredOptions, 'signingPassword');
});

it('throws error when createSignedPackage is missing required options', async () => {
const requiredOptions: Partial<CreateSignedPackageOptions> = { host: '1.2.3.4', password: 'abcd', signingPassword: 'abcd'};
const requiredOptions: Partial<CreateSignedPackageOptions> = { host: '1.2.3.4', password: 'abcd', signingPassword: 'abcd' };
await testRequiredOptions('createSignedPackage', requiredOptions, 'host');
await testRequiredOptions('createSignedPackage', requiredOptions, 'password');
await testRequiredOptions('createSignedPackage', requiredOptions, 'signingPassword');
Expand Down

0 comments on commit d9397d5

Please sign in to comment.