From 7bddabed86c89648e476a808915985d1df5930e9 Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Thu, 5 Dec 2019 16:14:01 +0100 Subject: [PATCH] fix(calendar): make tests independents of execution date --- packages/calendar/test/lion-calendar.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/calendar/test/lion-calendar.test.js b/packages/calendar/test/lion-calendar.test.js index c1da5e73a..7ddb7c51b 100644 --- a/packages/calendar/test/lion-calendar.test.js +++ b/packages/calendar/test/lion-calendar.test.js @@ -57,7 +57,7 @@ describe('', () => { it('has previous month button', async () => { const el = await fixture( html` - + `, ); expect(el.shadowRoot.querySelector('.calendar__previous-month-button')).dom.to.equal(` @@ -68,7 +68,7 @@ describe('', () => { it('has next month button', async () => { const el = await fixture( html` - + `, ); expect(el.shadowRoot.querySelector('.calendar__next-month-button')).dom.to.equal(` @@ -1181,7 +1181,7 @@ describe('', () => { it('displays the right translations according to locale', async () => { const el = await fixture(html` - + `); const elObj = new CalendarObject(el);