Skip to content

Commit e0966e8

Browse files
authored
Merge branch 'main' into release-please--branches--main--components--client
2 parents 42a05a4 + 00b6211 commit e0966e8

File tree

5 files changed

+15
-34
lines changed

5 files changed

+15
-34
lines changed

packages/client/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,9 @@
5858
"iso-websocket": "^0.2.0",
5959
"msw": "^2.1.5",
6060
"p-defer": "^4.0.0",
61-
"p-wait-for": "^5.0.2",
6261
"playwright-test": "^14.1.1",
6362
"tempy": "^3.1.0",
64-
"testcontainers": "^10.7.1",
65-
"type-fest": "^4.10.2"
63+
"testcontainers": "^10.7.1"
6664
},
6765
"publishConfig": {
6866
"provenance": true
@@ -84,7 +82,8 @@
8482
"bin"
8583
],
8684
"ignores": [
87-
"@types/*"
85+
"@types/*",
86+
"testcontainers"
8887
]
8988
},
9089
"msw": {

packages/client/pw-test.config.js

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -105,36 +105,31 @@ function buildConfig(config) {
105105
settingsPath,
106106
],
107107
{
108-
env: {
109-
RUST_LOG: 'fission_server=info',
110-
},
108+
// env: {
109+
// RUST_LOG: 'fission_server=info',
110+
// },
111111
// stdio: 'pipe',
112112
}
113113
)
114-
server.stderr.on('data', (data) => {
115-
console.error(data.toString())
116-
})
114+
// server.stderr.on('data', (data) => {
115+
// console.error(data.toString())
116+
// })
117117

118-
server.stdout.on('data', (data) => {
119-
// eslint-disable-next-line no-console
120-
console.log(data.toString())
121-
})
118+
// server.stdout.on('data', (data) => {
119+
// // eslint-disable-next-line no-console
120+
// console.log(data.toString())
121+
// })
122122

123123
const { error } = await request.json(
124124
'http://localhost:3000/healthcheck',
125125
{
126126
retry: {
127127
retries: 10,
128-
onFailedAttempt: (error) => {
129-
console.error('Failed to connect to server', error)
130-
},
131128
},
132129
}
133130
)
134131

135132
if (error) {
136-
// eslint-disable-next-line no-console
137-
console.log('🚀 ~ beforeTests ~ error:', error)
138133
throw error
139134
}
140135

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

packages/client/test/mocks/fission-server-ci

100644100755
-426 KB
Binary file not shown.

pnpm-lock.yaml

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)