Updated the dependency (because forgot to before)
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 34s
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 34s
This commit is contained in:
parent
9041c057ec
commit
98be42cb99
4 changed files with 223 additions and 780 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
"typescript": "^5.9.3"
|
"typescript": "^5.9.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@BridgemanAccessible/ba-auth": "^1.0.30",
|
"@BridgemanAccessible/ba-auth_keystore": "^1.0.1",
|
||||||
"@BridgemanAccessible/ba-logging": "^1.0.1",
|
"@BridgemanAccessible/ba-logging": "^1.0.1",
|
||||||
"node-jose": "^2.2.0"
|
"node-jose": "^2.2.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import fs from 'fs';
|
||||||
import NodeJose from 'node-jose';
|
import NodeJose from 'node-jose';
|
||||||
import type { JWK as JWKTypes } from 'node-jose';
|
import type { JWK as JWKTypes } from 'node-jose';
|
||||||
|
|
||||||
import { BaseKeystore, Keystore } from '@BridgemanAccessible/ba-auth/keystore';
|
import { BaseKeystore, Keystore } from '@BridgemanAccessible/ba-auth_keystore';
|
||||||
|
|
||||||
const { JWK } = NodeJose;
|
const { JWK } = NodeJose;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ jest.unstable_mockModule('fs', () => ({
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// Mock dependency
|
// Mock dependency
|
||||||
jest.unstable_mockModule('@BridgemanAccessible/ba-auth/keystore', () => ({
|
jest.unstable_mockModule('@BridgemanAccessible/ba-auth_keystore', () => ({
|
||||||
BaseKeystore: class {},
|
BaseKeystore: class {},
|
||||||
Keystore: {
|
Keystore: {
|
||||||
addKeystoreType: jest.fn(),
|
addKeystoreType: jest.fn(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue