29export class VaultService implements IVaultService {
30 private static instance: VaultService
31
32 private constructor() {} 33
34 public static getInstance() {
35 if (!VaultService.instance) {
12 let instance: SessionKeyAgentBase
13 let networkType: Mina.NetworkType
14
15 beforeEach(async () => {}) 16
17 describe("Mina KeyAgent", () => {
18 beforeEach(() => {
Having empty functions hurts readability, and is considered a code-smell. There's almost always a way to avoid using them. If you must use one, consider adding a comment to inform the reader of its purpose.
getUser('SwaGaLisTiQuE', () => {})
getUser('SwaGaLisTiQuE', () => {
// empty because <reason>
})