Skip to content

Commit

Permalink
Removes unneeded boolean
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
  • Loading branch information
konstantinabl committed Aug 9, 2024
1 parent 52bffd1 commit adb87ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/tests/acceptance/conformityTests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ async function processFileContent(directory, file, content) {
*/
console.log('Executing for ', file);
const modifiedRequest = await checkRequestBody(file, JSON.parse(content.request));
const needError = JSON.parse(content.response).error ? true : false;
const needError = JSON.parse(content.response).error;
const response = await sendRequestToRelay(modifiedRequest, needError);
const schema = findSchema(directory);
const valid = needError
Expand Down

0 comments on commit adb87ac

Please sign in to comment.