From 1a3a0822c9fd618747ef1c89464ca3bfbcdf0765 Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Tue, 12 Mar 2019 20:19:34 +0900 Subject: [PATCH] Fix deprectaion warnings while running test --- test/helpers/inline_style.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/helpers/inline_style.js b/test/helpers/inline_style.js index a0da2743..f9cfe76b 100644 --- a/test/helpers/inline_style.js +++ b/test/helpers/inline_style.js @@ -15,19 +15,19 @@ describe('InlineStyle helper class', () => { }) describe('constructor()', () => { - context('with decls argument in string', () => + context('with decls argument in string', () => { it('assigns parsed declarations', () => expect(new InlineStyle('font-size: 20px;').toString()).toBe( 'font-size:20px;' )) - ) + }) - context('with decls argument in object', () => + context('with decls argument in object', () => { it('assigns the pair of declaration and value', () => expect(new InlineStyle({ border: '1px solid #000' }).toString()).toBe( 'border:1px solid #000;' )) - ) + }) context('with decls argument in InlineStyle', () => { it('assigns sanitized declarations', () => {