Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
chore: remove unused dev packages (#160) (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 20, 2020
1 parent 1806b19 commit e05cfb8
Show file tree
Hide file tree
Showing 8 changed files with 2,752 additions and 3,938 deletions.
1,107 changes: 456 additions & 651 deletions src/v1/recaptcha_enterprise_service_client.ts

Large diffs are not rendered by default.

1,131 changes: 456 additions & 675 deletions src/v1beta1/recaptcha_enterprise_service_v1_beta1_client.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-recaptcha-enterprise.git",
"sha": "21b09f555632c6f36d1a487ccac3567064077a49"
"sha": "fa5b1c493666627a49ac1793fb830f0b9e6bdbf1"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "1bd77e8ce6f953ac641af7966d0c52646afc16a8",
"internalRef": "305974465"
"sha": "3028060618e8024af9a32b3ab3456c160091ecb7",
"internalRef": "306450502"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "6f32150677c9784f3c3a7e1949472bd29c9d72c5"
"sha": "52638600f387deb98efb5f9c85fec39e82aa9052"
}
}
],
Expand Down
1 change: 1 addition & 0 deletions system-test/fixtures/sample/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **


/* eslint-disable node/no-missing-require, no-unused-vars */
const recaptchaenterprise = require('@google-cloud/recaptcha-enterprise');

Expand Down
28 changes: 13 additions & 15 deletions system-test/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,34 @@
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

import {packNTest} from 'pack-n-play';
import {readFileSync} from 'fs';
import {describe, it} from 'mocha';
import { packNTest } from 'pack-n-play';
import { readFileSync } from 'fs';
import { describe, it } from 'mocha';

describe('typescript consumer tests', () => {

it('should have correct type signature for typescript users', async function() {
this.timeout(300000);
const options = {
packageDir: process.cwd(), // path to your module.
packageDir: process.cwd(), // path to your module.
sample: {
description: 'typescript based user can use the type definitions',
ts: readFileSync(
'./system-test/fixtures/sample/src/index.ts'
).toString(),
},
ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString()
}
};
await packNTest(options); // will throw upon error.
await packNTest(options); // will throw upon error.
});

it('should have correct type signature for javascript users', async function() {
this.timeout(300000);
const options = {
packageDir: process.cwd(), // path to your module.
packageDir: process.cwd(), // path to your module.
sample: {
description: 'typescript based user can use the type definitions',
ts: readFileSync(
'./system-test/fixtures/sample/src/index.js'
).toString(),
},
ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString()
}
};
await packNTest(options); // will throw upon error.
await packNTest(options); // will throw upon error.
});

});
Loading

0 comments on commit e05cfb8

Please sign in to comment.