fix
This commit is contained in:
@@ -27,7 +27,7 @@ test('журнал сохраняет только разрешённые пол
|
||||
})
|
||||
log.record('request-error', { path: '/api/games/7?token=SECRET', reason: 'ENOTFOUND' })
|
||||
log.record('request-error', { path: '/api/games/{id}', reason: 'SECRET' })
|
||||
log.record('request-error', { path: '/api/scenarios/{id}', reason: 'AUTH', token: 'SECRET' })
|
||||
log.record('request-error', { path: '/api/scenarios/{id}/full', reason: 'AUTH', token: 'SECRET' })
|
||||
const content = await readFile(join(dir, 'diagnostic.jsonl'), 'utf8')
|
||||
assert.equal(content.includes('SECRET'), false)
|
||||
const lines = content
|
||||
|
||||
Reference in New Issue
Block a user