diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-02 15:48:12 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-04-02 15:48:12 -0700 |
commit | 91262718093924a9bd33b5f51f6e0b970077151c (patch) | |
tree | dce3fa3c0961e21e1fc35d16676f479a60ce2f62 /src/use-sunlight.test.js | |
parent | 88258a0f4bd1d1b980a1c2757e7fce932968215a (diff) |
(bug) Import react in test
Diffstat (limited to 'src/use-sunlight.test.js')
-rw-r--r-- | src/use-sunlight.test.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/use-sunlight.test.js b/src/use-sunlight.test.js index a4f4719..e5708f2 100644 --- a/src/use-sunlight.test.js +++ b/src/use-sunlight.test.js @@ -1,4 +1,9 @@ import { computeLightLevel } from './use-sunlight' +// TODO figure out why this is required +// (I'm assuming some transpiler magic +// makes this "required") +// eslint-disable-next-line +import React from 'react' // Test the calculations used in the hook. // Not sure if it's worth testing the public hook |