1
0
Fork 0

chore(core): log.warning is now log.warn

This commit is contained in:
joostdecock 2023-09-05 12:00:05 +02:00
parent e60362935c
commit 5c00551bca
14 changed files with 134 additions and 143 deletions

View file

@ -222,8 +222,8 @@ describe('Pattern', () => {
const pattern = new Pattern()
pattern.events.error.push('error')
pattern.pack()
expect(pattern.events.warning.length).to.equal(1)
expect(pattern.events.warning[0]).to.equal(
expect(pattern.events.warn.length).to.equal(1)
expect(pattern.events.warn[0]).to.equal(
'One or more errors occured. Not packing pattern parts'
)
})