Skip to content

Commit

Permalink
Merge branch 'master' into feat/264-track-data-status
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorShadurin committed Oct 3, 2023
2 parents b203793 + d104a8e commit bcf5dbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/account/account-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class AccountData {
assertPassword(password)

if (await this.ens.isUsernameAvailable(username)) {
throw new Error(`Username "${username}" does not exists`)
throw new Error(`Username "${username}" does not exist`)
}

const publicKey = await this.ens.getPublicKey(username)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/browser/fdp-class.browser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ describe('Fair Data Protocol class - in browser', () => {

await window.shouldFail(
fdp.account.login(fakeUser.username, fakeUser.password),
`Username "${fakeUser.username}" does not exists`,
`Username "${fakeUser.username}" does not exist`,
)
}, jsonFakeUser)
})
Expand Down
2 changes: 1 addition & 1 deletion test/integration/node/fdp-class.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('Fair Data Protocol class', () => {

const fakeUser = generateUser(fdp)
await expect(fdp.account.login(fakeUser.username, fakeUser.password)).rejects.toThrow(
`Username "${fakeUser.username}" does not exists`,
`Username "${fakeUser.username}" does not exist`,
)
})

Expand Down

0 comments on commit bcf5dbf

Please sign in to comment.