Skip to content

Commit bb84eb2

Browse files
committed
lesseeee
1 parent 6ba39e4 commit bb84eb2

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

test/unit/quiet-test.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,15 @@ test('deploy.sam with default (no quiet param) shows output', async () => {
225225
assert.ok(outputCount > 0, `Default mode shows output (${outputCount} messages)`)
226226
assert.ok(outputContent.includes('Deploy'), `Output contains deploy messages`)
227227
console.error('[DEBUG] Test passed')
228-
} catch (err) {
228+
}
229+
catch (err) {
229230
console.error('[DEBUG] Test failed with error:', err.message)
230231
console.error('[DEBUG] Stack:', err.stack)
231232
throw err
232233
}
233234
})
234235

235-
test('deploy.direct with quiet=true suppresses updater output', async () => {
236+
test('deploy.direct with quiet=true suppresses updater output', { skip: process.platform === 'win32' }, async () => {
236237
try {
237238
console.error('[DEBUG] Starting deploy.direct quiet comparison test')
238239
let inv = await inventory({
@@ -273,14 +274,15 @@ test('deploy.direct with quiet=true suppresses updater output', async () => {
273274
assert.ok(normalCount > 5, `Normal mode has substantial output (${normalCount} messages)`)
274275
assert.strictEqual(quietCount, 0, `Quiet mode completely suppresses output (${quietCount} messages, was ${normalCount})`)
275276
console.error('[DEBUG] Test passed')
276-
} catch (err) {
277+
}
278+
catch (err) {
277279
console.error('[DEBUG] Test failed with error:', err.message)
278280
console.error('[DEBUG] Stack:', err.stack)
279281
throw err
280282
}
281283
})
282284

283-
test('deploy.direct with quiet=false shows output', async () => {
285+
test('deploy.direct with quiet=false shows output', { skip: process.platform === 'win32' }, async () => {
284286
try {
285287
console.error('[DEBUG] Starting deploy.direct quiet=false test')
286288
let inv = await inventory({
@@ -312,7 +314,8 @@ test('deploy.direct with quiet=false shows output', async () => {
312314
assert.ok(outputCount > 0, `Non-quiet mode shows output (${outputCount} messages)`)
313315
assert.ok(outputContent.includes('Deploy'), `Output contains deploy messages: ${outputContent.substring(0, 100)}...`)
314316
console.error('[DEBUG] Test passed')
315-
} catch (err) {
317+
}
318+
catch (err) {
316319
console.error('[DEBUG] Test failed with error:', err.message)
317320
console.error('[DEBUG] Stack:', err.stack)
318321
throw err
@@ -328,7 +331,8 @@ test('Teardown', () => {
328331
console.error('[DEBUG] AWS testing reset')
329332
assert.ok(!awsLite.testing.isEnabled(), 'AWS client testing disabled')
330333
console.error('[DEBUG] Teardown test passed')
331-
} catch (err) {
334+
}
335+
catch (err) {
332336
console.error('[DEBUG] Teardown test failed:', err.message)
333337
console.error('[DEBUG] Stack:', err.stack)
334338
throw err

0 commit comments

Comments
 (0)