Skip to content

Commit 43d0fdc

Browse files
alexander-fensterAce Nassri
authored and
Ace Nassri
committed
feat!: drop node8 support (#30)
BREAKING CHANGE: The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.
1 parent 1181bab commit 43d0fdc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

document-ai/test/batch_parse_form.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2424

2525
const storage = new Storage();
2626
const bucketName = `nodejs-docs-samples-test-${uuid.v4()}`;
27-
const cmd = `node batch_parse_form.js`;
27+
const cmd = 'node batch_parse_form.js';
2828

2929
const testParseForm = {
3030
projectId: process.env.GCLOUD_PROJECT,
3131
location: 'us-central1',
3232
gcsOutputUriPrefix: uuid.v4(),
3333
};
3434

35-
describe(`Document AI batch parse form`, () => {
35+
describe('Document AI batch parse form', () => {
3636
before(async () => {
3737
await storage.createBucket(bucketName);
3838
});
@@ -43,7 +43,7 @@ describe(`Document AI batch parse form`, () => {
4343
await bucket.delete();
4444
});
4545

46-
it(`should parse the GCS invoice example as a form`, async () => {
46+
it('should parse the GCS invoice example as a form', async () => {
4747
const output = execSync(
4848
`${cmd} ${testParseForm.projectId} ${testParseForm.location} gs://${bucketName}`
4949
);

document-ai/test/batch_parse_table.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2424

2525
const storage = new Storage();
2626
const bucketName = `nodejs-docs-samples-test-${uuid.v4()}`;
27-
const cmd = `node batch_parse_table.js`;
27+
const cmd = 'node batch_parse_table.js';
2828

2929
const testParseTable = {
3030
projectId: process.env.GCLOUD_PROJECT,
3131
location: 'us-central1',
3232
gcsOutputUriPrefix: uuid.v4(),
3333
};
3434

35-
describe(`Document AI batch parse table`, () => {
35+
describe('Document AI batch parse table', () => {
3636
before(async () => {
3737
await storage.createBucket(bucketName);
3838
});
@@ -43,7 +43,7 @@ describe(`Document AI batch parse table`, () => {
4343
await bucket.delete();
4444
});
4545

46-
it(`should parse the GCS invoice example as as table`, async () => {
46+
it('should parse the GCS invoice example as as table', async () => {
4747
const output = execSync(
4848
`${cmd} ${testParseTable.projectId} ${testParseTable.location} gs://${bucketName}`
4949
);

0 commit comments

Comments
 (0)