Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Apr 6, 2020
1 parent d5ba12f commit 086aa26
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions cypress/integration/big.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {withLineUp, waitReady} from "./_lineup";
import {generateData, DEFAULT_CATEGORIES} from './_data';
import {withLineUp, waitReady} from './utils/lineup';
import {generateData, DEFAULT_CATEGORIES} from './utils/data';

it('builder2', withLineUp((LineUpJS, document) => {
it('builder2', withLineUp((lineUpJS, document) => {
const arr = generateData({
count: 10000,
number: 2,
Expand Down Expand Up @@ -38,15 +38,15 @@ it('builder2', withLineUp((LineUpJS, document) => {
column: 'date'
},
];
LineUpJS.deriveColors(desc);
lineUpJS.deriveColors(desc);

const p = new LineUpJS.LocalDataProvider(arr, desc, {
const p = new lineUpJS.LocalDataProvider(arr, desc, {
// taskExecutor: 'direct',
taskExecutor: 'scheduled'
});
p.deriveDefault();

const instance = new LineUpJS.Taggle(document.body, p, {
const instance = new lineUpJS.Taggle(document.body, p, {
animated: false
});
waitReady(instance).then(() => {
Expand Down
10 changes: 5 additions & 5 deletions cypress/integration/builder.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {withLineUp, waitReady, LineUpJSType, Taggle} from './_lineup';
import {generateData} from './_data';
import {withLineUp, waitReady, LineUpJSType, Taggle} from './utils/lineup';
import {generateData} from './utils/data';

describe('builder', () => {
let lineup: Taggle;
let LineUpJS: LineUpJSType;
let lineUpJS: LineUpJSType;
before(withLineUp((l, document) => {
LineUpJS = l;
lineUpJS = l;
const arr = generateData();

lineup = LineUpJS.asTaggle(document.body, arr);
lineup = lineUpJS.asTaggle(document.body, arr);
waitReady(lineup);
}));

Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/builder2.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {setupLineUp, waitReady} from "./_lineup";
import {generateData, DEFAULT_CATEGORIES} from './_data';
import {setupLineUp, waitReady} from './utils/lineup';
import {generateData, DEFAULT_CATEGORIES} from './utils/data';

it('builder2', async () => {
// LineUpJS
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export declare type LineUpJSType = typeof import('../..');
import {LineUp as L, Taggle as T} from '../../';
export declare type LineUpJSType = typeof import('../../../build/src');
import {LineUp as L, Taggle as T} from '../../../build/src';

export declare type LineUp = L;
export declare type Taggle = T;
Expand Down

0 comments on commit 086aa26

Please sign in to comment.