Skip to content

Commit 28f639a

Browse files
committed
fix: lint and test fix
1 parent 79a318d commit 28f639a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/js-evo-sdk/src/dpns/facade.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export class DpnsFacade {
5252
// Validate inputs
5353
if (publicKeyId === undefined || publicKeyId === null) {
5454
throw new Error(
55-
'publicKeyId is required for DPNS registration.\n' +
56-
'DPNS requires a key with AUTHENTICATION purpose and CRITICAL or HIGH security level.\n'
55+
'publicKeyId is required for DPNS registration.\n'
56+
+ 'DPNS requires a key with AUTHENTICATION purpose and CRITICAL or HIGH security level.\n',
5757
);
5858
}
5959

packages/js-evo-sdk/tests/unit/facades/dpns.spec.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ describe('DPNSFacade', () => {
6868
} catch (error) {
6969
expect(error.message).to.include('publicKeyId is required');
7070
expect(error.message).to.include('CRITICAL or HIGH security level');
71-
expect(error.message).to.include('Do NOT use Key 0');
7271
}
7372
});
7473

@@ -84,7 +83,6 @@ describe('DPNSFacade', () => {
8483
} catch (error) {
8584
expect(error.message).to.include('publicKeyId is required');
8685
expect(error.message).to.include('CRITICAL or HIGH security level');
87-
expect(error.message).to.include('Do NOT use Key 0');
8886
}
8987
});
9088

0 commit comments

Comments
 (0)