ignore env get in coverage

This commit is contained in:
Ben Mitchinson committed 2020-03-30 16:53:39 -05:00
1 parent 200de53441
commit 0fed9e1263
1 file changed
+1
+1
View File
@@ -5,6 +5,7 @@ const useApi = (route: string) => {
const [error, setError] = React.useState(null);
const [isLoading, setIsLoading] = React.useState(false);
/* istanbul ignore next */
const getUrl = () => {
if (process.env.environment === "docker"){
return "http://api:4000/"