From 8a75bd5d7f3ada746eba00aa320463b65266db6d Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 8 Jan 2021 23:20:07 +0100 Subject: [PATCH] fix eslint warnings --- .../src/Global/Global.test.js | 10 +++++----- .../src/Global/Global.test.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/material-ui-styled-engine-sc/src/Global/Global.test.js b/packages/material-ui-styled-engine-sc/src/Global/Global.test.js index e2bc1298db02a5..a71f865d25adb2 100644 --- a/packages/material-ui-styled-engine-sc/src/Global/Global.test.js +++ b/packages/material-ui-styled-engine-sc/src/Global/Global.test.js @@ -8,7 +8,7 @@ import Global from './Global'; describe('Global', () => { const render = createClientRender(); - it('should add global styles', function () { + it('should add global styles', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const { container } = render( @@ -23,7 +23,7 @@ describe('Global', () => { }); }); - it('should add global styles using JS syntax', function () { + it('should add global styles using JS syntax', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const { container } = render( @@ -38,7 +38,7 @@ describe('Global', () => { }); }); - it('should add global styles using function', function () { + it('should add global styles using function', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); // TODO: styled-components provides all props in the callback function, we need to handle this difference @@ -54,7 +54,7 @@ describe('Global', () => { }); }); - it('should give presedence to styled()', function () { + it('should give presedence to styled()', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const Span = styled('span')` @@ -73,7 +73,7 @@ describe('Global', () => { }); }); - it('should give presedence to styled() using JS syntax', function () { + it('should give presedence to styled() using JS syntax', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const Span = styled('span')({ diff --git a/packages/material-ui-styled-engine/src/Global/Global.test.js b/packages/material-ui-styled-engine/src/Global/Global.test.js index 61b2c23d43c90e..d92ff74c3292e9 100644 --- a/packages/material-ui-styled-engine/src/Global/Global.test.js +++ b/packages/material-ui-styled-engine/src/Global/Global.test.js @@ -8,7 +8,7 @@ import Global from './Global'; describe('Global', () => { const render = createClientRender(); - it('should add global styles', function () { + it('should add global styles', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const { container } = render( @@ -23,7 +23,7 @@ describe('Global', () => { }); }); - it('should add global styles using JS syntax', function () { + it('should add global styles using JS syntax', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const { container } = render( @@ -38,7 +38,7 @@ describe('Global', () => { }); }); - it('should add global styles using function', function () { + it('should add global styles using function', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const { container } = render( @@ -53,7 +53,7 @@ describe('Global', () => { }); }); - it('should give presedence to styled()', function () { + it('should give presedence to styled()', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const Span = styled('span')` @@ -72,7 +72,7 @@ describe('Global', () => { }); }); - it('should give presedence to styled() using JS syntax', function () { + it('should give presedence to styled() using JS syntax', function test() { if (/jsdom/.test(window.navigator.userAgent)) this.skip(); const Span = styled('span')({