From 4fc24873ac4ef7ce0731287ecf964f0dcb60dca4 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 1 May 2019 20:00:33 +0100 Subject: [PATCH] No need to return --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index 3f80740..3a8e29a 100644 --- a/test.js +++ b/test.js @@ -22,7 +22,7 @@ expect.extend({ }) test('it generates the correct classes with no variants', () => { - return generatePluginCss().then(css => { + generatePluginCss().then(css => { expect(css).toMatchCss(` .test { display: block @@ -32,7 +32,7 @@ test('it generates the correct classes with no variants', () => { }) test('it generates the correct classes with variants', () => { - return generatePluginCss({ variants: ['hover', 'focus'] }).then(css => { + generatePluginCss({ variants: ['hover', 'focus'] }).then(css => { expect(css).toMatchCss(` .test { display: block