More detailed logs

This commit is contained in:
Aleksandr Statciuk 2022-01-31 06:55:05 +03:00
parent 16ca23efe5
commit 9367c061e9
9 changed files with 60 additions and 40 deletions

View file

@ -35,7 +35,7 @@ it('can create queue', () => {
)
})
it('can create errors log', () => {
it('can log errors', () => {
let output = content('tests/__data__/output/logs/errors/ca-nl/example.com.log')
let expected = content('tests/__data__/expected/logs/errors/ca-nl/example.com.log')

View file

@ -51,6 +51,11 @@ it('can log errors', () => {
const expected2 = content('tests/__data__/expected/logs/errors/us/directv.com.log')
expect(output2).toBe(expected2)
const output3 = content('tests/__data__/output/logs/errors/ge/magticom.ge.log')
const expected3 = content('tests/__data__/expected/logs/errors/ge/magticom.ge.log')
expect(output3).toBe(expected3)
})
function content(filepath) {