Skip to content

Commit

Permalink
fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jan 8, 2021
1 parent 88762cc commit 8a75bd5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions packages/material-ui-styled-engine-sc/src/Global/Global.test.js
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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
Expand All @@ -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')`
Expand All @@ -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')({
Expand Down
10 changes: 5 additions & 5 deletions packages/material-ui-styled-engine/src/Global/Global.test.js
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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')`
Expand All @@ -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')({
Expand Down

0 comments on commit 8a75bd5

Please sign in to comment.