Skip to content

Commit

Permalink
remove non-functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanbond committed Jul 25, 2024
1 parent cce6072 commit ffe6acb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
5 changes: 3 additions & 2 deletions src/services/pdf/formfields/extract-formfields.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ const {extractFormfieldsPath} = require('../../../../config');
const {exec} = require('../../../utils');

const extractFormfields = async (filePath) => {
return JSON.parse((await exec(
const result = await exec(
`${extractFormfieldsPath} ${filePath}`,
{
maxBuffer: 1024 * 1024 * 50 // 50mb
}
)).stdout);
);
return JSON.parse(result.stdout);
};

module.exports = {extractFormfields};
35 changes: 0 additions & 35 deletions test/services/extract-formfields.js

This file was deleted.

0 comments on commit ffe6acb

Please sign in to comment.