fix(plugin-banner): Updated tests to recent changes
This commit is contained in:
parent
fb380ec49a
commit
42a6fcccba
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ describe('Banner Plugin Tests', () => {
|
|||
})
|
||||
let c = pattern.parts.test.paths.example
|
||||
expect(c.attributes.get('data-text')).to.equal(
|
||||
'f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o          f o o         '
|
||||
'            foo            foo            foo            foo            foo            foo            foo            foo            foo            foo            '
|
||||
)
|
||||
expect(c.attributes.get('data-text-class')).to.equal('center')
|
||||
expect(c.attributes.get('data-text-dy')).to.equal('-1')
|
||||
|
@ -44,7 +44,7 @@ describe('Banner Plugin Tests', () => {
|
|||
repeat: 2,
|
||||
})
|
||||
let c = pattern.parts.test.paths.example2
|
||||
expect(c.attributes.get('data-text')).to.equal('f o o    f o o   ')
|
||||
expect(c.attributes.get('data-text')).to.equal('  foo  foo  ')
|
||||
})
|
||||
|
||||
it('Number of repetitions should be configurable', () => {
|
||||
|
@ -62,7 +62,7 @@ describe('Banner Plugin Tests', () => {
|
|||
})
|
||||
let c = pattern.parts.test.paths.example3
|
||||
expect(c.attributes.get('data-text')).to.equal(
|
||||
'f o o   f o o   f o o   f o o  '
|
||||
' foo foo foo foo '
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue