mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-26 17:35:23 +00:00
ignore env get in coverage
This commit is contained in:
1 parent
200de53441
commit
0fed9e1263
1 file changed
+1
@@ -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/"
|
||||
|
||||
Reference in new issue
Block a user