we have set the timeout in the code like
axios.defaults.timeout === 3000;
......
try {
const aData = await axios.get(Url, {
headers: {
'Authorization': authToken.authHeaderValue,
},
httpAgent: new https.Agent({
keepAlive: true
}),
});
....
However in the static code analysis(polaris synopsis) test it shows as
Discarding the result of operator "===" in "axios.defaults.timeout === 3000". What was this code intended to accomplish?
Is this setting or assignment of the variable discarded?