Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Demedes committed Jun 25, 2019
1 parent 78be775 commit 4e59da5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import test from 'ava';
import chalk from 'chalk';
import {spy} from 'sinon';
import stripAnsi from 'strip-ansi';
import {Box, Color, Text, Static, StdinContext, render} from '..';
import renderToString from './helpers/render-to-string';
import run from './helpers/run';
import {Box, Color, Text, Static, StdinContext, render} from '..';

test('text', t => {
const output = renderToString(<Box>Hello World</Box>);
Expand Down
2 changes: 1 addition & 1 deletion test/flex-align-items.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box} from '..';
import renderToString from './helpers/render-to-string';
import {Box} from '..';

test('row - align text to center', t => {
const output = renderToString(
Expand Down
2 changes: 1 addition & 1 deletion test/flex-direction.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box, Text} from '..';
import renderToString from './helpers/render-to-string';
import {Box, Text} from '..';

test('direction row', t => {
const output = renderToString(
Expand Down
2 changes: 1 addition & 1 deletion test/flex-justify-content.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box} from '..';
import renderToString from './helpers/render-to-string';
import {Box} from '..';

test('row - align text to center', t => {
const output = renderToString(
Expand Down
2 changes: 1 addition & 1 deletion test/flex.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box} from '..';
import renderToString from './helpers/render-to-string';
import {Box} from '..';

test('grow equally', t => {
const output = renderToString(
Expand Down
2 changes: 1 addition & 1 deletion test/margin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box} from '..';
import renderToString from './helpers/render-to-string';
import {Box} from '..';

test('margin', t => {
const output = renderToString(<Box margin={2}>X</Box>);
Expand Down
2 changes: 1 addition & 1 deletion test/padding.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box} from '..';
import renderToString from './helpers/render-to-string';
import {Box} from '..';

test('padding', t => {
const output = renderToString(<Box padding={2}>X</Box>);
Expand Down
2 changes: 1 addition & 1 deletion test/width-height.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import test from 'ava';
import {Box} from '..';
import renderToString from './helpers/render-to-string';
import {Box} from '..';

test('set width', t => {
const output = renderToString(
Expand Down

0 comments on commit 4e59da5

Please sign in to comment.