Skip to content

Commit 00b6211

Browse files
committed
chore: clean tests
1 parent bfb2424 commit 00b6211

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/client/pw-test.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@ function buildConfig(config) {
125125
{
126126
retry: {
127127
retries: 10,
128-
onFailedAttempt: (error) => {
129-
console.error('Failed to connect to server', error)
130-
},
131128
},
132129
}
133130
)

packages/client/test/api.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async function createAccount() {
6969
username,
7070
})
7171
if (createAccount.error) {
72-
assert.fail(createAccount.error)
72+
return assert.fail(createAccount.error)
7373
}
7474

7575
return {
@@ -187,7 +187,7 @@ test('should change username', async function () {
187187
assert.deepEqual(accountInfo.result?.username, `${changedUsername}.localhost`)
188188
})
189189

190-
test('should fail changing username without conflict', async function () {
190+
test('should fail changing username with conflict', async function () {
191191
const account1 = await createAccount()
192192
const account2 = await createAccount()
193193

0 commit comments

Comments
 (0)