Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Oct 25, 2024
1 parent 2838eee commit 1f3e822
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ describe('Testing create_file_mass', () => {
material_density: 0.007,
body: await fsp.readFile('./example.obj', 'base64'),
});
console.log(JSON.stringify(response));
if ('error_code' in response) throw 'error: ' + response;
if ('error_code' in response) throw 'error' + JSON.stringify(response);

const { status, mass } = response;
expect(mass).toBe(103.7539631347172);
Expand All @@ -28,7 +27,7 @@ describe('Testing create_file_mass', () => {
material_density: 0.007,
body: await fsp.readFile('./example.obj', 'base64'),
});
if ('error_code' in response) throw 'error';
if ('error_code' in response) throw 'error' + JSON.stringify(response);

const { status, mass } = response;
expect(mass).toBe(103.7539631347172);
Expand Down

0 comments on commit 1f3e822

Please sign in to comment.