diff options
Diffstat (limited to 'src')
-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 |