Skip to content

Commit 248f819

Browse files
committed
fix(week-picker): linting
1 parent 135cc10 commit 248f819

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/async.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Helper that returns a promise which resolves after 10ms or the time passed as an argument
3+
* @param {number} timeout time to wait until resolving promise
4+
*/
15
export function wait(timeout = 10) {
26
const promise = new Promise(resolve => {
37
setTimeout(() => {

tests/ws-weekpicker/ws-weekpicker.spec.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable import/extensions, no-proto */
22
import 'babel-polyfill';
33
import {React, render} from 'imports';
4-
import {TestComponent} from '../test-component';
54
import {WSWeekPicker} from '../../src/index';
65
import {wait} from '../async';
76

0 commit comments

Comments
 (0)