diff --git a/packages/google-ads-admanager/package.json b/packages/google-ads-admanager/package.json index bc5e971c6d07..1b76bac6fd21 100644 --- a/packages/google-ads-admanager/package.json +++ b/packages/google-ads-admanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-ads-admanager/system-test/fixtures/sample/src/index.js b/packages/google-ads-admanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 0dbe44849310..000000000000 --- a/packages/google-ads-admanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 admanager = require('@google-ads/admanager'); - -function main() { - const adBreakServiceClient = new admanager.AdBreakServiceClient(); - const adReviewCenterAdServiceClient = new admanager.AdReviewCenterAdServiceClient(); - const adUnitServiceClient = new admanager.AdUnitServiceClient(); - const applicationServiceClient = new admanager.ApplicationServiceClient(); - const audienceSegmentServiceClient = new admanager.AudienceSegmentServiceClient(); - const bandwidthGroupServiceClient = new admanager.BandwidthGroupServiceClient(); - const browserLanguageServiceClient = new admanager.BrowserLanguageServiceClient(); - const browserServiceClient = new admanager.BrowserServiceClient(); - const cmsMetadataKeyServiceClient = new admanager.CmsMetadataKeyServiceClient(); - const cmsMetadataValueServiceClient = new admanager.CmsMetadataValueServiceClient(); - const companyServiceClient = new admanager.CompanyServiceClient(); - const contactServiceClient = new admanager.ContactServiceClient(); - const contentBundleServiceClient = new admanager.ContentBundleServiceClient(); - const contentLabelServiceClient = new admanager.ContentLabelServiceClient(); - const contentServiceClient = new admanager.ContentServiceClient(); - const creativeTemplateServiceClient = new admanager.CreativeTemplateServiceClient(); - const customFieldServiceClient = new admanager.CustomFieldServiceClient(); - const customTargetingKeyServiceClient = new admanager.CustomTargetingKeyServiceClient(); - const customTargetingValueServiceClient = new admanager.CustomTargetingValueServiceClient(); - const deviceCapabilityServiceClient = new admanager.DeviceCapabilityServiceClient(); - const deviceCategoryServiceClient = new admanager.DeviceCategoryServiceClient(); - const deviceManufacturerServiceClient = new admanager.DeviceManufacturerServiceClient(); - const entitySignalsMappingServiceClient = new admanager.EntitySignalsMappingServiceClient(); - const geoTargetServiceClient = new admanager.GeoTargetServiceClient(); - const lineItemServiceClient = new admanager.LineItemServiceClient(); - const mobileCarrierServiceClient = new admanager.MobileCarrierServiceClient(); - const mobileDeviceServiceClient = new admanager.MobileDeviceServiceClient(); - const mobileDeviceSubmodelServiceClient = new admanager.MobileDeviceSubmodelServiceClient(); - const networkServiceClient = new admanager.NetworkServiceClient(); - const operatingSystemServiceClient = new admanager.OperatingSystemServiceClient(); - const operatingSystemVersionServiceClient = new admanager.OperatingSystemVersionServiceClient(); - const orderServiceClient = new admanager.OrderServiceClient(); - const placementServiceClient = new admanager.PlacementServiceClient(); - const privateAuctionDealServiceClient = new admanager.PrivateAuctionDealServiceClient(); - const privateAuctionServiceClient = new admanager.PrivateAuctionServiceClient(); - const programmaticBuyerServiceClient = new admanager.ProgrammaticBuyerServiceClient(); - const reportServiceClient = new admanager.ReportServiceClient(); - const roleServiceClient = new admanager.RoleServiceClient(); - const siteServiceClient = new admanager.SiteServiceClient(); - const taxonomyCategoryServiceClient = new admanager.TaxonomyCategoryServiceClient(); - const teamServiceClient = new admanager.TeamServiceClient(); - const userServiceClient = new admanager.UserServiceClient(); -} - -main(); diff --git a/packages/google-ads-admanager/system-test/fixtures/sample/src/index.ts b/packages/google-ads-admanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 403a625d6271..000000000000 --- a/packages/google-ads-admanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,278 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AdBreakServiceClient, AdReviewCenterAdServiceClient, AdUnitServiceClient, ApplicationServiceClient, AudienceSegmentServiceClient, BandwidthGroupServiceClient, BrowserLanguageServiceClient, BrowserServiceClient, CmsMetadataKeyServiceClient, CmsMetadataValueServiceClient, CompanyServiceClient, ContactServiceClient, ContentBundleServiceClient, ContentLabelServiceClient, ContentServiceClient, CreativeTemplateServiceClient, CustomFieldServiceClient, CustomTargetingKeyServiceClient, CustomTargetingValueServiceClient, DeviceCapabilityServiceClient, DeviceCategoryServiceClient, DeviceManufacturerServiceClient, EntitySignalsMappingServiceClient, GeoTargetServiceClient, LineItemServiceClient, MobileCarrierServiceClient, MobileDeviceServiceClient, MobileDeviceSubmodelServiceClient, NetworkServiceClient, OperatingSystemServiceClient, OperatingSystemVersionServiceClient, OrderServiceClient, PlacementServiceClient, PrivateAuctionDealServiceClient, PrivateAuctionServiceClient, ProgrammaticBuyerServiceClient, ReportServiceClient, RoleServiceClient, SiteServiceClient, TaxonomyCategoryServiceClient, TeamServiceClient, UserServiceClient} from '@google-ads/admanager'; - -// check that the client class type name can be used -function doStuffWithAdBreakServiceClient(client: AdBreakServiceClient) { - client.close(); -} -function doStuffWithAdReviewCenterAdServiceClient(client: AdReviewCenterAdServiceClient) { - client.close(); -} -function doStuffWithAdUnitServiceClient(client: AdUnitServiceClient) { - client.close(); -} -function doStuffWithApplicationServiceClient(client: ApplicationServiceClient) { - client.close(); -} -function doStuffWithAudienceSegmentServiceClient(client: AudienceSegmentServiceClient) { - client.close(); -} -function doStuffWithBandwidthGroupServiceClient(client: BandwidthGroupServiceClient) { - client.close(); -} -function doStuffWithBrowserLanguageServiceClient(client: BrowserLanguageServiceClient) { - client.close(); -} -function doStuffWithBrowserServiceClient(client: BrowserServiceClient) { - client.close(); -} -function doStuffWithCmsMetadataKeyServiceClient(client: CmsMetadataKeyServiceClient) { - client.close(); -} -function doStuffWithCmsMetadataValueServiceClient(client: CmsMetadataValueServiceClient) { - client.close(); -} -function doStuffWithCompanyServiceClient(client: CompanyServiceClient) { - client.close(); -} -function doStuffWithContactServiceClient(client: ContactServiceClient) { - client.close(); -} -function doStuffWithContentBundleServiceClient(client: ContentBundleServiceClient) { - client.close(); -} -function doStuffWithContentLabelServiceClient(client: ContentLabelServiceClient) { - client.close(); -} -function doStuffWithContentServiceClient(client: ContentServiceClient) { - client.close(); -} -function doStuffWithCreativeTemplateServiceClient(client: CreativeTemplateServiceClient) { - client.close(); -} -function doStuffWithCustomFieldServiceClient(client: CustomFieldServiceClient) { - client.close(); -} -function doStuffWithCustomTargetingKeyServiceClient(client: CustomTargetingKeyServiceClient) { - client.close(); -} -function doStuffWithCustomTargetingValueServiceClient(client: CustomTargetingValueServiceClient) { - client.close(); -} -function doStuffWithDeviceCapabilityServiceClient(client: DeviceCapabilityServiceClient) { - client.close(); -} -function doStuffWithDeviceCategoryServiceClient(client: DeviceCategoryServiceClient) { - client.close(); -} -function doStuffWithDeviceManufacturerServiceClient(client: DeviceManufacturerServiceClient) { - client.close(); -} -function doStuffWithEntitySignalsMappingServiceClient(client: EntitySignalsMappingServiceClient) { - client.close(); -} -function doStuffWithGeoTargetServiceClient(client: GeoTargetServiceClient) { - client.close(); -} -function doStuffWithLineItemServiceClient(client: LineItemServiceClient) { - client.close(); -} -function doStuffWithMobileCarrierServiceClient(client: MobileCarrierServiceClient) { - client.close(); -} -function doStuffWithMobileDeviceServiceClient(client: MobileDeviceServiceClient) { - client.close(); -} -function doStuffWithMobileDeviceSubmodelServiceClient(client: MobileDeviceSubmodelServiceClient) { - client.close(); -} -function doStuffWithNetworkServiceClient(client: NetworkServiceClient) { - client.close(); -} -function doStuffWithOperatingSystemServiceClient(client: OperatingSystemServiceClient) { - client.close(); -} -function doStuffWithOperatingSystemVersionServiceClient(client: OperatingSystemVersionServiceClient) { - client.close(); -} -function doStuffWithOrderServiceClient(client: OrderServiceClient) { - client.close(); -} -function doStuffWithPlacementServiceClient(client: PlacementServiceClient) { - client.close(); -} -function doStuffWithPrivateAuctionDealServiceClient(client: PrivateAuctionDealServiceClient) { - client.close(); -} -function doStuffWithPrivateAuctionServiceClient(client: PrivateAuctionServiceClient) { - client.close(); -} -function doStuffWithProgrammaticBuyerServiceClient(client: ProgrammaticBuyerServiceClient) { - client.close(); -} -function doStuffWithReportServiceClient(client: ReportServiceClient) { - client.close(); -} -function doStuffWithRoleServiceClient(client: RoleServiceClient) { - client.close(); -} -function doStuffWithSiteServiceClient(client: SiteServiceClient) { - client.close(); -} -function doStuffWithTaxonomyCategoryServiceClient(client: TaxonomyCategoryServiceClient) { - client.close(); -} -function doStuffWithTeamServiceClient(client: TeamServiceClient) { - client.close(); -} -function doStuffWithUserServiceClient(client: UserServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const adBreakServiceClient = new AdBreakServiceClient(); - doStuffWithAdBreakServiceClient(adBreakServiceClient); - // check that the client instance can be created - const adReviewCenterAdServiceClient = new AdReviewCenterAdServiceClient(); - doStuffWithAdReviewCenterAdServiceClient(adReviewCenterAdServiceClient); - // check that the client instance can be created - const adUnitServiceClient = new AdUnitServiceClient(); - doStuffWithAdUnitServiceClient(adUnitServiceClient); - // check that the client instance can be created - const applicationServiceClient = new ApplicationServiceClient(); - doStuffWithApplicationServiceClient(applicationServiceClient); - // check that the client instance can be created - const audienceSegmentServiceClient = new AudienceSegmentServiceClient(); - doStuffWithAudienceSegmentServiceClient(audienceSegmentServiceClient); - // check that the client instance can be created - const bandwidthGroupServiceClient = new BandwidthGroupServiceClient(); - doStuffWithBandwidthGroupServiceClient(bandwidthGroupServiceClient); - // check that the client instance can be created - const browserLanguageServiceClient = new BrowserLanguageServiceClient(); - doStuffWithBrowserLanguageServiceClient(browserLanguageServiceClient); - // check that the client instance can be created - const browserServiceClient = new BrowserServiceClient(); - doStuffWithBrowserServiceClient(browserServiceClient); - // check that the client instance can be created - const cmsMetadataKeyServiceClient = new CmsMetadataKeyServiceClient(); - doStuffWithCmsMetadataKeyServiceClient(cmsMetadataKeyServiceClient); - // check that the client instance can be created - const cmsMetadataValueServiceClient = new CmsMetadataValueServiceClient(); - doStuffWithCmsMetadataValueServiceClient(cmsMetadataValueServiceClient); - // check that the client instance can be created - const companyServiceClient = new CompanyServiceClient(); - doStuffWithCompanyServiceClient(companyServiceClient); - // check that the client instance can be created - const contactServiceClient = new ContactServiceClient(); - doStuffWithContactServiceClient(contactServiceClient); - // check that the client instance can be created - const contentBundleServiceClient = new ContentBundleServiceClient(); - doStuffWithContentBundleServiceClient(contentBundleServiceClient); - // check that the client instance can be created - const contentLabelServiceClient = new ContentLabelServiceClient(); - doStuffWithContentLabelServiceClient(contentLabelServiceClient); - // check that the client instance can be created - const contentServiceClient = new ContentServiceClient(); - doStuffWithContentServiceClient(contentServiceClient); - // check that the client instance can be created - const creativeTemplateServiceClient = new CreativeTemplateServiceClient(); - doStuffWithCreativeTemplateServiceClient(creativeTemplateServiceClient); - // check that the client instance can be created - const customFieldServiceClient = new CustomFieldServiceClient(); - doStuffWithCustomFieldServiceClient(customFieldServiceClient); - // check that the client instance can be created - const customTargetingKeyServiceClient = new CustomTargetingKeyServiceClient(); - doStuffWithCustomTargetingKeyServiceClient(customTargetingKeyServiceClient); - // check that the client instance can be created - const customTargetingValueServiceClient = new CustomTargetingValueServiceClient(); - doStuffWithCustomTargetingValueServiceClient(customTargetingValueServiceClient); - // check that the client instance can be created - const deviceCapabilityServiceClient = new DeviceCapabilityServiceClient(); - doStuffWithDeviceCapabilityServiceClient(deviceCapabilityServiceClient); - // check that the client instance can be created - const deviceCategoryServiceClient = new DeviceCategoryServiceClient(); - doStuffWithDeviceCategoryServiceClient(deviceCategoryServiceClient); - // check that the client instance can be created - const deviceManufacturerServiceClient = new DeviceManufacturerServiceClient(); - doStuffWithDeviceManufacturerServiceClient(deviceManufacturerServiceClient); - // check that the client instance can be created - const entitySignalsMappingServiceClient = new EntitySignalsMappingServiceClient(); - doStuffWithEntitySignalsMappingServiceClient(entitySignalsMappingServiceClient); - // check that the client instance can be created - const geoTargetServiceClient = new GeoTargetServiceClient(); - doStuffWithGeoTargetServiceClient(geoTargetServiceClient); - // check that the client instance can be created - const lineItemServiceClient = new LineItemServiceClient(); - doStuffWithLineItemServiceClient(lineItemServiceClient); - // check that the client instance can be created - const mobileCarrierServiceClient = new MobileCarrierServiceClient(); - doStuffWithMobileCarrierServiceClient(mobileCarrierServiceClient); - // check that the client instance can be created - const mobileDeviceServiceClient = new MobileDeviceServiceClient(); - doStuffWithMobileDeviceServiceClient(mobileDeviceServiceClient); - // check that the client instance can be created - const mobileDeviceSubmodelServiceClient = new MobileDeviceSubmodelServiceClient(); - doStuffWithMobileDeviceSubmodelServiceClient(mobileDeviceSubmodelServiceClient); - // check that the client instance can be created - const networkServiceClient = new NetworkServiceClient(); - doStuffWithNetworkServiceClient(networkServiceClient); - // check that the client instance can be created - const operatingSystemServiceClient = new OperatingSystemServiceClient(); - doStuffWithOperatingSystemServiceClient(operatingSystemServiceClient); - // check that the client instance can be created - const operatingSystemVersionServiceClient = new OperatingSystemVersionServiceClient(); - doStuffWithOperatingSystemVersionServiceClient(operatingSystemVersionServiceClient); - // check that the client instance can be created - const orderServiceClient = new OrderServiceClient(); - doStuffWithOrderServiceClient(orderServiceClient); - // check that the client instance can be created - const placementServiceClient = new PlacementServiceClient(); - doStuffWithPlacementServiceClient(placementServiceClient); - // check that the client instance can be created - const privateAuctionDealServiceClient = new PrivateAuctionDealServiceClient(); - doStuffWithPrivateAuctionDealServiceClient(privateAuctionDealServiceClient); - // check that the client instance can be created - const privateAuctionServiceClient = new PrivateAuctionServiceClient(); - doStuffWithPrivateAuctionServiceClient(privateAuctionServiceClient); - // check that the client instance can be created - const programmaticBuyerServiceClient = new ProgrammaticBuyerServiceClient(); - doStuffWithProgrammaticBuyerServiceClient(programmaticBuyerServiceClient); - // check that the client instance can be created - const reportServiceClient = new ReportServiceClient(); - doStuffWithReportServiceClient(reportServiceClient); - // check that the client instance can be created - const roleServiceClient = new RoleServiceClient(); - doStuffWithRoleServiceClient(roleServiceClient); - // check that the client instance can be created - const siteServiceClient = new SiteServiceClient(); - doStuffWithSiteServiceClient(siteServiceClient); - // check that the client instance can be created - const taxonomyCategoryServiceClient = new TaxonomyCategoryServiceClient(); - doStuffWithTaxonomyCategoryServiceClient(taxonomyCategoryServiceClient); - // check that the client instance can be created - const teamServiceClient = new TeamServiceClient(); - doStuffWithTeamServiceClient(teamServiceClient); - // check that the client instance can be created - const userServiceClient = new UserServiceClient(); - doStuffWithUserServiceClient(userServiceClient); -} - -main(); diff --git a/packages/google-ads-admanager/system-test/install.ts b/packages/google-ads-admanager/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-ads-admanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-ads-datamanager/package.json b/packages/google-ads-datamanager/package.json index 96e4cd79e504..68074724bc31 100644 --- a/packages/google-ads-datamanager/package.json +++ b/packages/google-ads-datamanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-ads-datamanager/system-test/fixtures/sample/src/index.js b/packages/google-ads-datamanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index da1c9a355b4e..000000000000 --- a/packages/google-ads-datamanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datamanager = require('@google-ads/datamanager'); - -function main() { - const ingestionServiceClient = new datamanager.IngestionServiceClient(); - const marketingDataInsightsServiceClient = new datamanager.MarketingDataInsightsServiceClient(); - const partnerLinkServiceClient = new datamanager.PartnerLinkServiceClient(); - const userListDirectLicenseServiceClient = new datamanager.UserListDirectLicenseServiceClient(); - const userListGlobalLicenseServiceClient = new datamanager.UserListGlobalLicenseServiceClient(); - const userListServiceClient = new datamanager.UserListServiceClient(); -} - -main(); diff --git a/packages/google-ads-datamanager/system-test/fixtures/sample/src/index.ts b/packages/google-ads-datamanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 2e2810220aef..000000000000 --- a/packages/google-ads-datamanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {IngestionServiceClient, MarketingDataInsightsServiceClient, PartnerLinkServiceClient, UserListDirectLicenseServiceClient, UserListGlobalLicenseServiceClient, UserListServiceClient} from '@google-ads/datamanager'; - -// check that the client class type name can be used -function doStuffWithIngestionServiceClient(client: IngestionServiceClient) { - client.close(); -} -function doStuffWithMarketingDataInsightsServiceClient(client: MarketingDataInsightsServiceClient) { - client.close(); -} -function doStuffWithPartnerLinkServiceClient(client: PartnerLinkServiceClient) { - client.close(); -} -function doStuffWithUserListDirectLicenseServiceClient(client: UserListDirectLicenseServiceClient) { - client.close(); -} -function doStuffWithUserListGlobalLicenseServiceClient(client: UserListGlobalLicenseServiceClient) { - client.close(); -} -function doStuffWithUserListServiceClient(client: UserListServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const ingestionServiceClient = new IngestionServiceClient(); - doStuffWithIngestionServiceClient(ingestionServiceClient); - // check that the client instance can be created - const marketingDataInsightsServiceClient = new MarketingDataInsightsServiceClient(); - doStuffWithMarketingDataInsightsServiceClient(marketingDataInsightsServiceClient); - // check that the client instance can be created - const partnerLinkServiceClient = new PartnerLinkServiceClient(); - doStuffWithPartnerLinkServiceClient(partnerLinkServiceClient); - // check that the client instance can be created - const userListDirectLicenseServiceClient = new UserListDirectLicenseServiceClient(); - doStuffWithUserListDirectLicenseServiceClient(userListDirectLicenseServiceClient); - // check that the client instance can be created - const userListGlobalLicenseServiceClient = new UserListGlobalLicenseServiceClient(); - doStuffWithUserListGlobalLicenseServiceClient(userListGlobalLicenseServiceClient); - // check that the client instance can be created - const userListServiceClient = new UserListServiceClient(); - doStuffWithUserListServiceClient(userListServiceClient); -} - -main(); diff --git a/packages/google-ads-datamanager/system-test/install.ts b/packages/google-ads-datamanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-ads-datamanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-ai-generativelanguage/package.json b/packages/google-ai-generativelanguage/package.json index e123734d863f..9c4c681e91eb 100644 --- a/packages/google-ai-generativelanguage/package.json +++ b/packages/google-ai-generativelanguage/package.json @@ -37,7 +37,7 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile", - "system-test": "npm run compile && c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -58,7 +58,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-ai-generativelanguage/system-test/fixtures/sample/src/index.js b/packages/google-ai-generativelanguage/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b766eb5d36f8..000000000000 --- a/packages/google-ai-generativelanguage/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 generativelanguage = require('@google-ai/generativelanguage'); - -function main() { - const cacheServiceClient = new generativelanguage.CacheServiceClient(); - const discussServiceClient = new generativelanguage.DiscussServiceClient(); - const fileServiceClient = new generativelanguage.FileServiceClient(); - const generativeServiceClient = new generativelanguage.GenerativeServiceClient(); - const modelServiceClient = new generativelanguage.ModelServiceClient(); - const permissionServiceClient = new generativelanguage.PermissionServiceClient(); - const predictionServiceClient = new generativelanguage.PredictionServiceClient(); - const retrieverServiceClient = new generativelanguage.RetrieverServiceClient(); - const textServiceClient = new generativelanguage.TextServiceClient(); -} - -main(); diff --git a/packages/google-ai-generativelanguage/system-test/fixtures/sample/src/index.ts b/packages/google-ai-generativelanguage/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 8eca60bc6cf2..000000000000 --- a/packages/google-ai-generativelanguage/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CacheServiceClient, DiscussServiceClient, FileServiceClient, GenerativeServiceClient, ModelServiceClient, PermissionServiceClient, PredictionServiceClient, RetrieverServiceClient, TextServiceClient} from '@google-ai/generativelanguage'; - -// check that the client class type name can be used -function doStuffWithCacheServiceClient(client: CacheServiceClient) { - client.close(); -} -function doStuffWithDiscussServiceClient(client: DiscussServiceClient) { - client.close(); -} -function doStuffWithFileServiceClient(client: FileServiceClient) { - client.close(); -} -function doStuffWithGenerativeServiceClient(client: GenerativeServiceClient) { - client.close(); -} -function doStuffWithModelServiceClient(client: ModelServiceClient) { - client.close(); -} -function doStuffWithPermissionServiceClient(client: PermissionServiceClient) { - client.close(); -} -function doStuffWithPredictionServiceClient(client: PredictionServiceClient) { - client.close(); -} -function doStuffWithRetrieverServiceClient(client: RetrieverServiceClient) { - client.close(); -} -function doStuffWithTextServiceClient(client: TextServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cacheServiceClient = new CacheServiceClient(); - doStuffWithCacheServiceClient(cacheServiceClient); - // check that the client instance can be created - const discussServiceClient = new DiscussServiceClient(); - doStuffWithDiscussServiceClient(discussServiceClient); - // check that the client instance can be created - const fileServiceClient = new FileServiceClient(); - doStuffWithFileServiceClient(fileServiceClient); - // check that the client instance can be created - const generativeServiceClient = new GenerativeServiceClient(); - doStuffWithGenerativeServiceClient(generativeServiceClient); - // check that the client instance can be created - const modelServiceClient = new ModelServiceClient(); - doStuffWithModelServiceClient(modelServiceClient); - // check that the client instance can be created - const permissionServiceClient = new PermissionServiceClient(); - doStuffWithPermissionServiceClient(permissionServiceClient); - // check that the client instance can be created - const predictionServiceClient = new PredictionServiceClient(); - doStuffWithPredictionServiceClient(predictionServiceClient); - // check that the client instance can be created - const retrieverServiceClient = new RetrieverServiceClient(); - doStuffWithRetrieverServiceClient(retrieverServiceClient); - // check that the client instance can be created - const textServiceClient = new TextServiceClient(); - doStuffWithTextServiceClient(textServiceClient); -} - -main(); diff --git a/packages/google-ai-generativelanguage/system-test/install.ts b/packages/google-ai-generativelanguage/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-ai-generativelanguage/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-analytics-admin/package.json b/packages/google-analytics-admin/package.json index 97d48dccee6a..05222af47ef5 100644 --- a/packages/google-analytics-admin/package.json +++ b/packages/google-analytics-admin/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -61,7 +61,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-analytics-admin/system-test/fixtures/sample/src/index.js b/packages/google-analytics-admin/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 135d71022a80..000000000000 --- a/packages/google-analytics-admin/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 admin = require('@google-analytics/admin'); - -function main() { - const analyticsAdminServiceClient = new admin.AnalyticsAdminServiceClient(); -} - -main(); diff --git a/packages/google-analytics-admin/system-test/fixtures/sample/src/index.ts b/packages/google-analytics-admin/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a6e3b7253316..000000000000 --- a/packages/google-analytics-admin/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AnalyticsAdminServiceClient} from '@google-analytics/admin'; - -// check that the client class type name can be used -function doStuffWithAnalyticsAdminServiceClient(client: AnalyticsAdminServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const analyticsAdminServiceClient = new AnalyticsAdminServiceClient(); - doStuffWithAnalyticsAdminServiceClient(analyticsAdminServiceClient); -} - -main(); diff --git a/packages/google-analytics-admin/system-test/install.ts b/packages/google-analytics-admin/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-analytics-admin/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-analytics-data/package.json b/packages/google-analytics-data/package.json index 7a2839f701f2..6fe942ffc68d 100644 --- a/packages/google-analytics-data/package.json +++ b/packages/google-analytics-data/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-analytics-data/system-test/fixtures/sample/src/index.js b/packages/google-analytics-data/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5fb77a3aef4e..000000000000 --- a/packages/google-analytics-data/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 data = require('@google-analytics/data'); - -function main() { - const betaAnalyticsDataClient = new data.BetaAnalyticsDataClient(); -} - -main(); diff --git a/packages/google-analytics-data/system-test/fixtures/sample/src/index.ts b/packages/google-analytics-data/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 079657c400b5..000000000000 --- a/packages/google-analytics-data/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BetaAnalyticsDataClient} from '@google-analytics/data'; - -// check that the client class type name can be used -function doStuffWithBetaAnalyticsDataClient(client: BetaAnalyticsDataClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const betaAnalyticsDataClient = new BetaAnalyticsDataClient(); - doStuffWithBetaAnalyticsDataClient(betaAnalyticsDataClient); -} - -main(); diff --git a/packages/google-analytics-data/system-test/install.ts b/packages/google-analytics-data/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-analytics-data/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-api-apikeys/package.json b/packages/google-api-apikeys/package.json index 7ba7b5201739..1dc993d7c651 100644 --- a/packages/google-api-apikeys/package.json +++ b/packages/google-api-apikeys/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-api-apikeys/system-test/fixtures/sample/src/index.js b/packages/google-api-apikeys/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 52fe7d4421e5..000000000000 --- a/packages/google-api-apikeys/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apikeys = require('@google-cloud/apikeys'); - -function main() { - const apiKeysClient = new apikeys.ApiKeysClient(); -} - -main(); diff --git a/packages/google-api-apikeys/system-test/fixtures/sample/src/index.ts b/packages/google-api-apikeys/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 12650afb003e..000000000000 --- a/packages/google-api-apikeys/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ApiKeysClient} from '@google-cloud/apikeys'; - -// check that the client class type name can be used -function doStuffWithApiKeysClient(client: ApiKeysClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const apiKeysClient = new ApiKeysClient(); - doStuffWithApiKeysClient(apiKeysClient); -} - -main(); diff --git a/packages/google-api-apikeys/system-test/install.ts b/packages/google-api-apikeys/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-api-apikeys/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-api-cloudquotas/package.json b/packages/google-api-cloudquotas/package.json index e868ebf4f0ce..52a28ae77927 100644 --- a/packages/google-api-cloudquotas/package.json +++ b/packages/google-api-cloudquotas/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-api-cloudquotas/system-test/fixtures/sample/src/index.js b/packages/google-api-cloudquotas/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5c4a1b19eaa6..000000000000 --- a/packages/google-api-cloudquotas/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cloudquotas = require('@google-cloud/cloudquotas'); - -function main() { - const cloudQuotasClient = new cloudquotas.CloudQuotasClient(); -} - -main(); diff --git a/packages/google-api-cloudquotas/system-test/fixtures/sample/src/index.ts b/packages/google-api-cloudquotas/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b083ef68f939..000000000000 --- a/packages/google-api-cloudquotas/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudQuotasClient} from '@google-cloud/cloudquotas'; - -// check that the client class type name can be used -function doStuffWithCloudQuotasClient(client: CloudQuotasClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudQuotasClient = new CloudQuotasClient(); - doStuffWithCloudQuotasClient(cloudQuotasClient); -} - -main(); diff --git a/packages/google-api-cloudquotas/system-test/install.ts b/packages/google-api-cloudquotas/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-api-cloudquotas/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-api-servicecontrol/package.json b/packages/google-api-servicecontrol/package.json index 17f21759d3a8..b9ac59bc4265 100644 --- a/packages/google-api-servicecontrol/package.json +++ b/packages/google-api-servicecontrol/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-api-servicecontrol/system-test/fixtures/sample/src/index.js b/packages/google-api-servicecontrol/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1b8eb55d7b58..000000000000 --- a/packages/google-api-servicecontrol/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 servicecontrol = require('@google-cloud/service-control'); - -function main() { - const quotaControllerClient = new servicecontrol.QuotaControllerClient(); - const serviceControllerClient = new servicecontrol.ServiceControllerClient(); -} - -main(); diff --git a/packages/google-api-servicecontrol/system-test/fixtures/sample/src/index.ts b/packages/google-api-servicecontrol/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a8c21925a56a..000000000000 --- a/packages/google-api-servicecontrol/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {QuotaControllerClient, ServiceControllerClient} from '@google-cloud/service-control'; - -// check that the client class type name can be used -function doStuffWithQuotaControllerClient(client: QuotaControllerClient) { - client.close(); -} -function doStuffWithServiceControllerClient(client: ServiceControllerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const quotaControllerClient = new QuotaControllerClient(); - doStuffWithQuotaControllerClient(quotaControllerClient); - // check that the client instance can be created - const serviceControllerClient = new ServiceControllerClient(); - doStuffWithServiceControllerClient(serviceControllerClient); -} - -main(); diff --git a/packages/google-api-servicecontrol/system-test/install.ts b/packages/google-api-servicecontrol/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-api-servicecontrol/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-api-servicemanagement/package.json b/packages/google-api-servicemanagement/package.json index 4ac0ccf20aef..979327c1104f 100644 --- a/packages/google-api-servicemanagement/package.json +++ b/packages/google-api-servicemanagement/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-api-servicemanagement/system-test/fixtures/sample/src/index.js b/packages/google-api-servicemanagement/system-test/fixtures/sample/src/index.js deleted file mode 100644 index f30d0f897264..000000000000 --- a/packages/google-api-servicemanagement/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 servicemanagement = require('@google-cloud/service-management'); - -function main() { - const serviceManagerClient = new servicemanagement.ServiceManagerClient(); -} - -main(); diff --git a/packages/google-api-servicemanagement/system-test/fixtures/sample/src/index.ts b/packages/google-api-servicemanagement/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 271e35817c50..000000000000 --- a/packages/google-api-servicemanagement/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ServiceManagerClient} from '@google-cloud/service-management'; - -// check that the client class type name can be used -function doStuffWithServiceManagerClient(client: ServiceManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const serviceManagerClient = new ServiceManagerClient(); - doStuffWithServiceManagerClient(serviceManagerClient); -} - -main(); diff --git a/packages/google-api-servicemanagement/system-test/install.ts b/packages/google-api-servicemanagement/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-api-servicemanagement/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-api-serviceusage/package.json b/packages/google-api-serviceusage/package.json index 84116eb5cbe1..2d7486f292af 100644 --- a/packages/google-api-serviceusage/package.json +++ b/packages/google-api-serviceusage/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-api-serviceusage/system-test/fixtures/sample/src/index.js b/packages/google-api-serviceusage/system-test/fixtures/sample/src/index.js deleted file mode 100644 index cf848c8dbfac..000000000000 --- a/packages/google-api-serviceusage/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 serviceusage = require('@google-cloud/service-usage'); - -function main() { - const serviceUsageClient = new serviceusage.ServiceUsageClient(); -} - -main(); diff --git a/packages/google-api-serviceusage/system-test/fixtures/sample/src/index.ts b/packages/google-api-serviceusage/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0db8e30c7b1c..000000000000 --- a/packages/google-api-serviceusage/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ServiceUsageClient} from '@google-cloud/service-usage'; - -// check that the client class type name can be used -function doStuffWithServiceUsageClient(client: ServiceUsageClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const serviceUsageClient = new ServiceUsageClient(); - doStuffWithServiceUsageClient(serviceUsageClient); -} - -main(); diff --git a/packages/google-api-serviceusage/system-test/install.ts b/packages/google-api-serviceusage/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-api-serviceusage/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-appengine/package.json b/packages/google-appengine/package.json index 5aa194da1c6a..cfdfc4b8223d 100644 --- a/packages/google-appengine/package.json +++ b/packages/google-appengine/package.json @@ -47,7 +47,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -66,7 +66,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-appengine/system-test/fixtures/sample/src/index.js b/packages/google-appengine/system-test/fixtures/sample/src/index.js deleted file mode 100644 index fe1224258e44..000000000000 --- a/packages/google-appengine/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 appengine = require('@google-cloud/appengine-admin'); - -function main() { - const applicationsClient = new appengine.ApplicationsClient(); - const authorizedCertificatesClient = new appengine.AuthorizedCertificatesClient(); - const authorizedDomainsClient = new appengine.AuthorizedDomainsClient(); - const domainMappingsClient = new appengine.DomainMappingsClient(); - const firewallClient = new appengine.FirewallClient(); - const instancesClient = new appengine.InstancesClient(); - const servicesClient = new appengine.ServicesClient(); - const versionsClient = new appengine.VersionsClient(); -} - -main(); diff --git a/packages/google-appengine/system-test/fixtures/sample/src/index.ts b/packages/google-appengine/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 69eed352cb9c..000000000000 --- a/packages/google-appengine/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ApplicationsClient, AuthorizedCertificatesClient, AuthorizedDomainsClient, DomainMappingsClient, FirewallClient, InstancesClient, ServicesClient, VersionsClient} from '@google-cloud/appengine-admin'; - -// check that the client class type name can be used -function doStuffWithApplicationsClient(client: ApplicationsClient) { - client.close(); -} -function doStuffWithAuthorizedCertificatesClient(client: AuthorizedCertificatesClient) { - client.close(); -} -function doStuffWithAuthorizedDomainsClient(client: AuthorizedDomainsClient) { - client.close(); -} -function doStuffWithDomainMappingsClient(client: DomainMappingsClient) { - client.close(); -} -function doStuffWithFirewallClient(client: FirewallClient) { - client.close(); -} -function doStuffWithInstancesClient(client: InstancesClient) { - client.close(); -} -function doStuffWithServicesClient(client: ServicesClient) { - client.close(); -} -function doStuffWithVersionsClient(client: VersionsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const applicationsClient = new ApplicationsClient(); - doStuffWithApplicationsClient(applicationsClient); - // check that the client instance can be created - const authorizedCertificatesClient = new AuthorizedCertificatesClient(); - doStuffWithAuthorizedCertificatesClient(authorizedCertificatesClient); - // check that the client instance can be created - const authorizedDomainsClient = new AuthorizedDomainsClient(); - doStuffWithAuthorizedDomainsClient(authorizedDomainsClient); - // check that the client instance can be created - const domainMappingsClient = new DomainMappingsClient(); - doStuffWithDomainMappingsClient(domainMappingsClient); - // check that the client instance can be created - const firewallClient = new FirewallClient(); - doStuffWithFirewallClient(firewallClient); - // check that the client instance can be created - const instancesClient = new InstancesClient(); - doStuffWithInstancesClient(instancesClient); - // check that the client instance can be created - const servicesClient = new ServicesClient(); - doStuffWithServicesClient(servicesClient); - // check that the client instance can be created - const versionsClient = new VersionsClient(); - doStuffWithVersionsClient(versionsClient); -} - -main(); diff --git a/packages/google-appengine/system-test/install.ts b/packages/google-appengine/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-appengine/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-apps-events-subscriptions/package.json b/packages/google-apps-events-subscriptions/package.json index bfc75554e661..aaefc00c7b17 100644 --- a/packages/google-apps-events-subscriptions/package.json +++ b/packages/google-apps-events-subscriptions/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-apps-events-subscriptions/system-test/fixtures/sample/src/index.js b/packages/google-apps-events-subscriptions/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9e4752e848b1..000000000000 --- a/packages/google-apps-events-subscriptions/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 subscriptions = require('@google-cloud/subscriptions'); - -function main() { - const subscriptionsServiceClient = new subscriptions.SubscriptionsServiceClient(); -} - -main(); diff --git a/packages/google-apps-events-subscriptions/system-test/fixtures/sample/src/index.ts b/packages/google-apps-events-subscriptions/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index eda35d557200..000000000000 --- a/packages/google-apps-events-subscriptions/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SubscriptionsServiceClient} from '@google-cloud/subscriptions'; - -// check that the client class type name can be used -function doStuffWithSubscriptionsServiceClient(client: SubscriptionsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const subscriptionsServiceClient = new SubscriptionsServiceClient(); - doStuffWithSubscriptionsServiceClient(subscriptionsServiceClient); -} - -main(); diff --git a/packages/google-apps-events-subscriptions/system-test/install.ts b/packages/google-apps-events-subscriptions/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-apps-events-subscriptions/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-apps-meet/package.json b/packages/google-apps-meet/package.json index 5b50b2847f43..5645f1bf7136 100644 --- a/packages/google-apps-meet/package.json +++ b/packages/google-apps-meet/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-apps-meet/system-test/fixtures/sample/src/index.js b/packages/google-apps-meet/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 4d443180a1b3..000000000000 --- a/packages/google-apps-meet/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 meet = require('@google-apps/meet'); - -function main() { - const conferenceRecordsServiceClient = new meet.ConferenceRecordsServiceClient(); - const spacesServiceClient = new meet.SpacesServiceClient(); -} - -main(); diff --git a/packages/google-apps-meet/system-test/fixtures/sample/src/index.ts b/packages/google-apps-meet/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9222b2cb8738..000000000000 --- a/packages/google-apps-meet/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConferenceRecordsServiceClient, SpacesServiceClient} from '@google-apps/meet'; - -// check that the client class type name can be used -function doStuffWithConferenceRecordsServiceClient(client: ConferenceRecordsServiceClient) { - client.close(); -} -function doStuffWithSpacesServiceClient(client: SpacesServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const conferenceRecordsServiceClient = new ConferenceRecordsServiceClient(); - doStuffWithConferenceRecordsServiceClient(conferenceRecordsServiceClient); - // check that the client instance can be created - const spacesServiceClient = new SpacesServiceClient(); - doStuffWithSpacesServiceClient(spacesServiceClient); -} - -main(); diff --git a/packages/google-apps-meet/system-test/install.ts b/packages/google-apps-meet/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-apps-meet/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-area120-tables/package.json b/packages/google-area120-tables/package.json index 339de75f899e..56fd48e56f6d 100644 --- a/packages/google-area120-tables/package.json +++ b/packages/google-area120-tables/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-area120-tables/system-test/fixtures/sample/src/index.js b/packages/google-area120-tables/system-test/fixtures/sample/src/index.js deleted file mode 100644 index f6ec2f53dde4..000000000000 --- a/packages/google-area120-tables/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 tables = require('@google/area120-tables'); - -function main() { - const tablesServiceClient = new tables.TablesServiceClient(); -} - -main(); diff --git a/packages/google-area120-tables/system-test/fixtures/sample/src/index.ts b/packages/google-area120-tables/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 70c84263647c..000000000000 --- a/packages/google-area120-tables/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TablesServiceClient} from '@google/area120-tables'; - -// check that the client class type name can be used -function doStuffWithTablesServiceClient(client: TablesServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const tablesServiceClient = new TablesServiceClient(); - doStuffWithTablesServiceClient(tablesServiceClient); -} - -main(); diff --git a/packages/google-area120-tables/system-test/install.ts b/packages/google-area120-tables/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-area120-tables/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-chat/package.json b/packages/google-chat/package.json index 6c0e589239bd..a89a57b7224e 100644 --- a/packages/google-chat/package.json +++ b/packages/google-chat/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-chat/system-test/fixtures/sample/src/index.js b/packages/google-chat/system-test/fixtures/sample/src/index.js deleted file mode 100644 index dc180473ae4e..000000000000 --- a/packages/google-chat/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 chat = require('@google-apps/chat'); - -function main() { - const chatServiceClient = new chat.ChatServiceClient(); -} - -main(); diff --git a/packages/google-chat/system-test/fixtures/sample/src/index.ts b/packages/google-chat/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index dad8ecbace48..000000000000 --- a/packages/google-chat/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ChatServiceClient} from '@google-apps/chat'; - -// check that the client class type name can be used -function doStuffWithChatServiceClient(client: ChatServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const chatServiceClient = new ChatServiceClient(); - doStuffWithChatServiceClient(chatServiceClient); -} - -main(); diff --git a/packages/google-chat/system-test/install.ts b/packages/google-chat/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-chat/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-accessapproval/package.json b/packages/google-cloud-accessapproval/package.json index 32fb845e2868..7ee52680ac27 100644 --- a/packages/google-cloud-accessapproval/package.json +++ b/packages/google-cloud-accessapproval/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-accessapproval/system-test/fixtures/sample/src/index.js b/packages/google-cloud-accessapproval/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9f5769d495d1..000000000000 --- a/packages/google-cloud-accessapproval/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 accessapproval = require('@google-cloud/access-approval'); - -function main() { - const accessApprovalClient = new accessapproval.AccessApprovalClient(); -} - -main(); diff --git a/packages/google-cloud-accessapproval/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-accessapproval/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 09b7e95038ed..000000000000 --- a/packages/google-cloud-accessapproval/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AccessApprovalClient} from '@google-cloud/access-approval'; - -// check that the client class type name can be used -function doStuffWithAccessApprovalClient(client: AccessApprovalClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const accessApprovalClient = new AccessApprovalClient(); - doStuffWithAccessApprovalClient(accessApprovalClient); -} - -main(); diff --git a/packages/google-cloud-accessapproval/system-test/install.ts b/packages/google-cloud-accessapproval/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-accessapproval/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-advisorynotifications/package.json b/packages/google-cloud-advisorynotifications/package.json index effdf1c330b8..bab20d657441 100644 --- a/packages/google-cloud-advisorynotifications/package.json +++ b/packages/google-cloud-advisorynotifications/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-advisorynotifications/system-test/fixtures/sample/src/index.js b/packages/google-cloud-advisorynotifications/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 61d9a0d88ed9..000000000000 --- a/packages/google-cloud-advisorynotifications/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 advisorynotifications = require('@google-cloud/advisorynotifications'); - -function main() { - const advisoryNotificationsServiceClient = new advisorynotifications.AdvisoryNotificationsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-advisorynotifications/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-advisorynotifications/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 15fb2d1707b9..000000000000 --- a/packages/google-cloud-advisorynotifications/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AdvisoryNotificationsServiceClient} from '@google-cloud/advisorynotifications'; - -// check that the client class type name can be used -function doStuffWithAdvisoryNotificationsServiceClient(client: AdvisoryNotificationsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const advisoryNotificationsServiceClient = new AdvisoryNotificationsServiceClient(); - doStuffWithAdvisoryNotificationsServiceClient(advisoryNotificationsServiceClient); -} - -main(); diff --git a/packages/google-cloud-advisorynotifications/system-test/install.ts b/packages/google-cloud-advisorynotifications/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-advisorynotifications/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-aiplatform/package.json b/packages/google-cloud-aiplatform/package.json index b45ad6f8bb65..77bd336a97c7 100644 --- a/packages/google-cloud-aiplatform/package.json +++ b/packages/google-cloud-aiplatform/package.json @@ -48,7 +48,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test --timeout=1000000", + "system-test": "echo no system tests", "test": "c8 node build/test/run.js" }, "dependencies": { @@ -67,7 +67,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js b/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7f3d38376bdb..000000000000 --- a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 aiplatform = require('@google-cloud/aiplatform'); - -function main() { - const dataFoundryServiceClient = new aiplatform.DataFoundryServiceClient(); - const datasetServiceClient = new aiplatform.DatasetServiceClient(); - const deploymentResourcePoolServiceClient = new aiplatform.DeploymentResourcePoolServiceClient(); - const endpointServiceClient = new aiplatform.EndpointServiceClient(); - const evaluationServiceClient = new aiplatform.EvaluationServiceClient(); - const featureOnlineStoreAdminServiceClient = new aiplatform.FeatureOnlineStoreAdminServiceClient(); - const featureOnlineStoreServiceClient = new aiplatform.FeatureOnlineStoreServiceClient(); - const featureRegistryServiceClient = new aiplatform.FeatureRegistryServiceClient(); - const featurestoreOnlineServingServiceClient = new aiplatform.FeaturestoreOnlineServingServiceClient(); - const featurestoreServiceClient = new aiplatform.FeaturestoreServiceClient(); - const genAiCacheServiceClient = new aiplatform.GenAiCacheServiceClient(); - const genAiTuningServiceClient = new aiplatform.GenAiTuningServiceClient(); - const indexEndpointServiceClient = new aiplatform.IndexEndpointServiceClient(); - const indexServiceClient = new aiplatform.IndexServiceClient(); - const jobServiceClient = new aiplatform.JobServiceClient(); - const llmUtilityServiceClient = new aiplatform.LlmUtilityServiceClient(); - const matchServiceClient = new aiplatform.MatchServiceClient(); - const metadataServiceClient = new aiplatform.MetadataServiceClient(); - const migrationServiceClient = new aiplatform.MigrationServiceClient(); - const modelGardenServiceClient = new aiplatform.ModelGardenServiceClient(); - const modelServiceClient = new aiplatform.ModelServiceClient(); - const notebookServiceClient = new aiplatform.NotebookServiceClient(); - const persistentResourceServiceClient = new aiplatform.PersistentResourceServiceClient(); - const pipelineServiceClient = new aiplatform.PipelineServiceClient(); - const predictionServiceClient = new aiplatform.PredictionServiceClient(); - const reasoningEngineExecutionServiceClient = new aiplatform.ReasoningEngineExecutionServiceClient(); - const reasoningEngineServiceClient = new aiplatform.ReasoningEngineServiceClient(); - const scheduleServiceClient = new aiplatform.ScheduleServiceClient(); - const sessionServiceClient = new aiplatform.SessionServiceClient(); - const specialistPoolServiceClient = new aiplatform.SpecialistPoolServiceClient(); - const tensorboardServiceClient = new aiplatform.TensorboardServiceClient(); - const vertexRagDataServiceClient = new aiplatform.VertexRagDataServiceClient(); - const vertexRagServiceClient = new aiplatform.VertexRagServiceClient(); - const vizierServiceClient = new aiplatform.VizierServiceClient(); -} - -main(); diff --git a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 2d8bf5dfdaa7..000000000000 --- a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataFoundryServiceClient, DatasetServiceClient, DeploymentResourcePoolServiceClient, EndpointServiceClient, EvaluationServiceClient, FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient, FeatureRegistryServiceClient, FeaturestoreOnlineServingServiceClient, FeaturestoreServiceClient, GenAiCacheServiceClient, GenAiTuningServiceClient, IndexEndpointServiceClient, IndexServiceClient, JobServiceClient, LlmUtilityServiceClient, MatchServiceClient, MetadataServiceClient, MigrationServiceClient, ModelGardenServiceClient, ModelServiceClient, NotebookServiceClient, PersistentResourceServiceClient, PipelineServiceClient, PredictionServiceClient, ReasoningEngineExecutionServiceClient, ReasoningEngineServiceClient, ScheduleServiceClient, SessionServiceClient, SpecialistPoolServiceClient, TensorboardServiceClient, VertexRagDataServiceClient, VertexRagServiceClient, VizierServiceClient} from '@google-cloud/aiplatform'; - -// check that the client class type name can be used -function doStuffWithDataFoundryServiceClient(client: DataFoundryServiceClient) { - client.close(); -} -function doStuffWithDatasetServiceClient(client: DatasetServiceClient) { - client.close(); -} -function doStuffWithDeploymentResourcePoolServiceClient(client: DeploymentResourcePoolServiceClient) { - client.close(); -} -function doStuffWithEndpointServiceClient(client: EndpointServiceClient) { - client.close(); -} -function doStuffWithEvaluationServiceClient(client: EvaluationServiceClient) { - client.close(); -} -function doStuffWithFeatureOnlineStoreAdminServiceClient(client: FeatureOnlineStoreAdminServiceClient) { - client.close(); -} -function doStuffWithFeatureOnlineStoreServiceClient(client: FeatureOnlineStoreServiceClient) { - client.close(); -} -function doStuffWithFeatureRegistryServiceClient(client: FeatureRegistryServiceClient) { - client.close(); -} -function doStuffWithFeaturestoreOnlineServingServiceClient(client: FeaturestoreOnlineServingServiceClient) { - client.close(); -} -function doStuffWithFeaturestoreServiceClient(client: FeaturestoreServiceClient) { - client.close(); -} -function doStuffWithGenAiCacheServiceClient(client: GenAiCacheServiceClient) { - client.close(); -} -function doStuffWithGenAiTuningServiceClient(client: GenAiTuningServiceClient) { - client.close(); -} -function doStuffWithIndexEndpointServiceClient(client: IndexEndpointServiceClient) { - client.close(); -} -function doStuffWithIndexServiceClient(client: IndexServiceClient) { - client.close(); -} -function doStuffWithJobServiceClient(client: JobServiceClient) { - client.close(); -} -function doStuffWithLlmUtilityServiceClient(client: LlmUtilityServiceClient) { - client.close(); -} -function doStuffWithMatchServiceClient(client: MatchServiceClient) { - client.close(); -} -function doStuffWithMetadataServiceClient(client: MetadataServiceClient) { - client.close(); -} -function doStuffWithMigrationServiceClient(client: MigrationServiceClient) { - client.close(); -} -function doStuffWithModelGardenServiceClient(client: ModelGardenServiceClient) { - client.close(); -} -function doStuffWithModelServiceClient(client: ModelServiceClient) { - client.close(); -} -function doStuffWithNotebookServiceClient(client: NotebookServiceClient) { - client.close(); -} -function doStuffWithPersistentResourceServiceClient(client: PersistentResourceServiceClient) { - client.close(); -} -function doStuffWithPipelineServiceClient(client: PipelineServiceClient) { - client.close(); -} -function doStuffWithPredictionServiceClient(client: PredictionServiceClient) { - client.close(); -} -function doStuffWithReasoningEngineExecutionServiceClient(client: ReasoningEngineExecutionServiceClient) { - client.close(); -} -function doStuffWithReasoningEngineServiceClient(client: ReasoningEngineServiceClient) { - client.close(); -} -function doStuffWithScheduleServiceClient(client: ScheduleServiceClient) { - client.close(); -} -function doStuffWithSessionServiceClient(client: SessionServiceClient) { - client.close(); -} -function doStuffWithSpecialistPoolServiceClient(client: SpecialistPoolServiceClient) { - client.close(); -} -function doStuffWithTensorboardServiceClient(client: TensorboardServiceClient) { - client.close(); -} -function doStuffWithVertexRagDataServiceClient(client: VertexRagDataServiceClient) { - client.close(); -} -function doStuffWithVertexRagServiceClient(client: VertexRagServiceClient) { - client.close(); -} -function doStuffWithVizierServiceClient(client: VizierServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataFoundryServiceClient = new DataFoundryServiceClient(); - doStuffWithDataFoundryServiceClient(dataFoundryServiceClient); - // check that the client instance can be created - const datasetServiceClient = new DatasetServiceClient(); - doStuffWithDatasetServiceClient(datasetServiceClient); - // check that the client instance can be created - const deploymentResourcePoolServiceClient = new DeploymentResourcePoolServiceClient(); - doStuffWithDeploymentResourcePoolServiceClient(deploymentResourcePoolServiceClient); - // check that the client instance can be created - const endpointServiceClient = new EndpointServiceClient(); - doStuffWithEndpointServiceClient(endpointServiceClient); - // check that the client instance can be created - const evaluationServiceClient = new EvaluationServiceClient(); - doStuffWithEvaluationServiceClient(evaluationServiceClient); - // check that the client instance can be created - const featureOnlineStoreAdminServiceClient = new FeatureOnlineStoreAdminServiceClient(); - doStuffWithFeatureOnlineStoreAdminServiceClient(featureOnlineStoreAdminServiceClient); - // check that the client instance can be created - const featureOnlineStoreServiceClient = new FeatureOnlineStoreServiceClient(); - doStuffWithFeatureOnlineStoreServiceClient(featureOnlineStoreServiceClient); - // check that the client instance can be created - const featureRegistryServiceClient = new FeatureRegistryServiceClient(); - doStuffWithFeatureRegistryServiceClient(featureRegistryServiceClient); - // check that the client instance can be created - const featurestoreOnlineServingServiceClient = new FeaturestoreOnlineServingServiceClient(); - doStuffWithFeaturestoreOnlineServingServiceClient(featurestoreOnlineServingServiceClient); - // check that the client instance can be created - const featurestoreServiceClient = new FeaturestoreServiceClient(); - doStuffWithFeaturestoreServiceClient(featurestoreServiceClient); - // check that the client instance can be created - const genAiCacheServiceClient = new GenAiCacheServiceClient(); - doStuffWithGenAiCacheServiceClient(genAiCacheServiceClient); - // check that the client instance can be created - const genAiTuningServiceClient = new GenAiTuningServiceClient(); - doStuffWithGenAiTuningServiceClient(genAiTuningServiceClient); - // check that the client instance can be created - const indexEndpointServiceClient = new IndexEndpointServiceClient(); - doStuffWithIndexEndpointServiceClient(indexEndpointServiceClient); - // check that the client instance can be created - const indexServiceClient = new IndexServiceClient(); - doStuffWithIndexServiceClient(indexServiceClient); - // check that the client instance can be created - const jobServiceClient = new JobServiceClient(); - doStuffWithJobServiceClient(jobServiceClient); - // check that the client instance can be created - const llmUtilityServiceClient = new LlmUtilityServiceClient(); - doStuffWithLlmUtilityServiceClient(llmUtilityServiceClient); - // check that the client instance can be created - const matchServiceClient = new MatchServiceClient(); - doStuffWithMatchServiceClient(matchServiceClient); - // check that the client instance can be created - const metadataServiceClient = new MetadataServiceClient(); - doStuffWithMetadataServiceClient(metadataServiceClient); - // check that the client instance can be created - const migrationServiceClient = new MigrationServiceClient(); - doStuffWithMigrationServiceClient(migrationServiceClient); - // check that the client instance can be created - const modelGardenServiceClient = new ModelGardenServiceClient(); - doStuffWithModelGardenServiceClient(modelGardenServiceClient); - // check that the client instance can be created - const modelServiceClient = new ModelServiceClient(); - doStuffWithModelServiceClient(modelServiceClient); - // check that the client instance can be created - const notebookServiceClient = new NotebookServiceClient(); - doStuffWithNotebookServiceClient(notebookServiceClient); - // check that the client instance can be created - const persistentResourceServiceClient = new PersistentResourceServiceClient(); - doStuffWithPersistentResourceServiceClient(persistentResourceServiceClient); - // check that the client instance can be created - const pipelineServiceClient = new PipelineServiceClient(); - doStuffWithPipelineServiceClient(pipelineServiceClient); - // check that the client instance can be created - const predictionServiceClient = new PredictionServiceClient(); - doStuffWithPredictionServiceClient(predictionServiceClient); - // check that the client instance can be created - const reasoningEngineExecutionServiceClient = new ReasoningEngineExecutionServiceClient(); - doStuffWithReasoningEngineExecutionServiceClient(reasoningEngineExecutionServiceClient); - // check that the client instance can be created - const reasoningEngineServiceClient = new ReasoningEngineServiceClient(); - doStuffWithReasoningEngineServiceClient(reasoningEngineServiceClient); - // check that the client instance can be created - const scheduleServiceClient = new ScheduleServiceClient(); - doStuffWithScheduleServiceClient(scheduleServiceClient); - // check that the client instance can be created - const sessionServiceClient = new SessionServiceClient(); - doStuffWithSessionServiceClient(sessionServiceClient); - // check that the client instance can be created - const specialistPoolServiceClient = new SpecialistPoolServiceClient(); - doStuffWithSpecialistPoolServiceClient(specialistPoolServiceClient); - // check that the client instance can be created - const tensorboardServiceClient = new TensorboardServiceClient(); - doStuffWithTensorboardServiceClient(tensorboardServiceClient); - // check that the client instance can be created - const vertexRagDataServiceClient = new VertexRagDataServiceClient(); - doStuffWithVertexRagDataServiceClient(vertexRagDataServiceClient); - // check that the client instance can be created - const vertexRagServiceClient = new VertexRagServiceClient(); - doStuffWithVertexRagServiceClient(vertexRagServiceClient); - // check that the client instance can be created - const vizierServiceClient = new VizierServiceClient(); - doStuffWithVizierServiceClient(vizierServiceClient); -} - -main(); diff --git a/packages/google-cloud-aiplatform/system-test/install.ts b/packages/google-cloud-aiplatform/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-aiplatform/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-alloydb/package.json b/packages/google-cloud-alloydb/package.json index 3cbef1a19f71..30346feba29b 100644 --- a/packages/google-cloud-alloydb/package.json +++ b/packages/google-cloud-alloydb/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-alloydb/system-test/fixtures/sample/src/index.js b/packages/google-cloud-alloydb/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 601c54db8464..000000000000 --- a/packages/google-cloud-alloydb/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 alloydb = require('@google-cloud/alloydb'); - -function main() { - const alloyDBAdminClient = new alloydb.AlloyDBAdminClient(); - const alloyDBCSQLAdminClient = new alloydb.AlloyDBCSQLAdminClient(); -} - -main(); diff --git a/packages/google-cloud-alloydb/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-alloydb/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a1b508a0e5c8..000000000000 --- a/packages/google-cloud-alloydb/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AlloyDBAdminClient, AlloyDBCSQLAdminClient} from '@google-cloud/alloydb'; - -// check that the client class type name can be used -function doStuffWithAlloyDBAdminClient(client: AlloyDBAdminClient) { - client.close(); -} -function doStuffWithAlloyDBCSQLAdminClient(client: AlloyDBCSQLAdminClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const alloyDBAdminClient = new AlloyDBAdminClient(); - doStuffWithAlloyDBAdminClient(alloyDBAdminClient); - // check that the client instance can be created - const alloyDBCSQLAdminClient = new AlloyDBCSQLAdminClient(); - doStuffWithAlloyDBCSQLAdminClient(alloyDBCSQLAdminClient); -} - -main(); diff --git a/packages/google-cloud-alloydb/system-test/install.ts b/packages/google-cloud-alloydb/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-alloydb/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-apigateway/package.json b/packages/google-cloud-apigateway/package.json index e2bb6138e4d6..95bf02c653b2 100644 --- a/packages/google-cloud-apigateway/package.json +++ b/packages/google-cloud-apigateway/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-apigateway/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apigateway/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 732bde67513e..000000000000 --- a/packages/google-cloud-apigateway/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apigateway = require('@google-cloud/api-gateway'); - -function main() { - const apiGatewayServiceClient = new apigateway.ApiGatewayServiceClient(); -} - -main(); diff --git a/packages/google-cloud-apigateway/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apigateway/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 703d8c288437..000000000000 --- a/packages/google-cloud-apigateway/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ApiGatewayServiceClient} from '@google-cloud/api-gateway'; - -// check that the client class type name can be used -function doStuffWithApiGatewayServiceClient(client: ApiGatewayServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const apiGatewayServiceClient = new ApiGatewayServiceClient(); - doStuffWithApiGatewayServiceClient(apiGatewayServiceClient); -} - -main(); diff --git a/packages/google-cloud-apigateway/system-test/install.ts b/packages/google-cloud-apigateway/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-apigateway/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-apigeeconnect/package.json b/packages/google-cloud-apigeeconnect/package.json index 7aba6e7bfce3..344ac2d0bb12 100644 --- a/packages/google-cloud-apigeeconnect/package.json +++ b/packages/google-cloud-apigeeconnect/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-apigeeconnect/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apigeeconnect/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7f660bd1ff5b..000000000000 --- a/packages/google-cloud-apigeeconnect/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apigeeconnect = require('@google-cloud/apigee-connect'); - -function main() { - const connectionServiceClient = new apigeeconnect.ConnectionServiceClient(); - const tetherClient = new apigeeconnect.TetherClient(); -} - -main(); diff --git a/packages/google-cloud-apigeeconnect/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apigeeconnect/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 3f1f2cbaa788..000000000000 --- a/packages/google-cloud-apigeeconnect/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConnectionServiceClient, TetherClient} from '@google-cloud/apigee-connect'; - -// check that the client class type name can be used -function doStuffWithConnectionServiceClient(client: ConnectionServiceClient) { - client.close(); -} -function doStuffWithTetherClient(client: TetherClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const connectionServiceClient = new ConnectionServiceClient(); - doStuffWithConnectionServiceClient(connectionServiceClient); - // check that the client instance can be created - const tetherClient = new TetherClient(); - doStuffWithTetherClient(tetherClient); -} - -main(); diff --git a/packages/google-cloud-apigeeconnect/system-test/install.ts b/packages/google-cloud-apigeeconnect/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-apigeeconnect/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-apigeeregistry/package.json b/packages/google-cloud-apigeeregistry/package.json index d8b61a63cf22..919953aa8e5b 100644 --- a/packages/google-cloud-apigeeregistry/package.json +++ b/packages/google-cloud-apigeeregistry/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile", - "system-test": "npm run compile && c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -58,7 +58,6 @@ "long": "^5.3.1", "mocha": "^11.1.0", "null-loader": "^4.0.1", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "ts-loader": "^9.5.2", "typescript": "^5.8.2", diff --git a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js deleted file mode 100644 index fd2472231320..000000000000 --- a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apigeeregistry = require('@google-cloud/apigee-registry'); - -function main() { - const provisioningClient = new apigeeregistry.ProvisioningClient(); - const registryClient = new apigeeregistry.RegistryClient(); -} - -main(); diff --git a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 186126c9526c..000000000000 --- a/packages/google-cloud-apigeeregistry/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ProvisioningClient, RegistryClient} from '@google-cloud/apigee-registry'; - -// check that the client class type name can be used -function doStuffWithProvisioningClient(client: ProvisioningClient) { - client.close(); -} -function doStuffWithRegistryClient(client: RegistryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const provisioningClient = new ProvisioningClient(); - doStuffWithProvisioningClient(provisioningClient); - // check that the client instance can be created - const registryClient = new RegistryClient(); - doStuffWithRegistryClient(registryClient); -} - -main(); diff --git a/packages/google-cloud-apigeeregistry/system-test/install.ts b/packages/google-cloud-apigeeregistry/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-apigeeregistry/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-apihub/package.json b/packages/google-cloud-apihub/package.json index 5f91677da1dd..f5de566516d6 100644 --- a/packages/google-cloud-apihub/package.json +++ b/packages/google-cloud-apihub/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-apihub/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apihub/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b209ee607adb..000000000000 --- a/packages/google-cloud-apihub/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apihub = require('@google-cloud/apihub'); - -function main() { - const apiHubClient = new apihub.ApiHubClient(); - const apiHubCollectClient = new apihub.ApiHubCollectClient(); - const apiHubCurateClient = new apihub.ApiHubCurateClient(); - const apiHubDependenciesClient = new apihub.ApiHubDependenciesClient(); - const apiHubDiscoveryClient = new apihub.ApiHubDiscoveryClient(); - const apiHubPluginClient = new apihub.ApiHubPluginClient(); - const hostProjectRegistrationServiceClient = new apihub.HostProjectRegistrationServiceClient(); - const lintingServiceClient = new apihub.LintingServiceClient(); - const provisioningClient = new apihub.ProvisioningClient(); - const runtimeProjectAttachmentServiceClient = new apihub.RuntimeProjectAttachmentServiceClient(); -} - -main(); diff --git a/packages/google-cloud-apihub/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apihub/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1fadd8ed27b4..000000000000 --- a/packages/google-cloud-apihub/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ApiHubClient, ApiHubCollectClient, ApiHubCurateClient, ApiHubDependenciesClient, ApiHubDiscoveryClient, ApiHubPluginClient, HostProjectRegistrationServiceClient, LintingServiceClient, ProvisioningClient, RuntimeProjectAttachmentServiceClient} from '@google-cloud/apihub'; - -// check that the client class type name can be used -function doStuffWithApiHubClient(client: ApiHubClient) { - client.close(); -} -function doStuffWithApiHubCollectClient(client: ApiHubCollectClient) { - client.close(); -} -function doStuffWithApiHubCurateClient(client: ApiHubCurateClient) { - client.close(); -} -function doStuffWithApiHubDependenciesClient(client: ApiHubDependenciesClient) { - client.close(); -} -function doStuffWithApiHubDiscoveryClient(client: ApiHubDiscoveryClient) { - client.close(); -} -function doStuffWithApiHubPluginClient(client: ApiHubPluginClient) { - client.close(); -} -function doStuffWithHostProjectRegistrationServiceClient(client: HostProjectRegistrationServiceClient) { - client.close(); -} -function doStuffWithLintingServiceClient(client: LintingServiceClient) { - client.close(); -} -function doStuffWithProvisioningClient(client: ProvisioningClient) { - client.close(); -} -function doStuffWithRuntimeProjectAttachmentServiceClient(client: RuntimeProjectAttachmentServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const apiHubClient = new ApiHubClient(); - doStuffWithApiHubClient(apiHubClient); - // check that the client instance can be created - const apiHubCollectClient = new ApiHubCollectClient(); - doStuffWithApiHubCollectClient(apiHubCollectClient); - // check that the client instance can be created - const apiHubCurateClient = new ApiHubCurateClient(); - doStuffWithApiHubCurateClient(apiHubCurateClient); - // check that the client instance can be created - const apiHubDependenciesClient = new ApiHubDependenciesClient(); - doStuffWithApiHubDependenciesClient(apiHubDependenciesClient); - // check that the client instance can be created - const apiHubDiscoveryClient = new ApiHubDiscoveryClient(); - doStuffWithApiHubDiscoveryClient(apiHubDiscoveryClient); - // check that the client instance can be created - const apiHubPluginClient = new ApiHubPluginClient(); - doStuffWithApiHubPluginClient(apiHubPluginClient); - // check that the client instance can be created - const hostProjectRegistrationServiceClient = new HostProjectRegistrationServiceClient(); - doStuffWithHostProjectRegistrationServiceClient(hostProjectRegistrationServiceClient); - // check that the client instance can be created - const lintingServiceClient = new LintingServiceClient(); - doStuffWithLintingServiceClient(lintingServiceClient); - // check that the client instance can be created - const provisioningClient = new ProvisioningClient(); - doStuffWithProvisioningClient(provisioningClient); - // check that the client instance can be created - const runtimeProjectAttachmentServiceClient = new RuntimeProjectAttachmentServiceClient(); - doStuffWithRuntimeProjectAttachmentServiceClient(runtimeProjectAttachmentServiceClient); -} - -main(); diff --git a/packages/google-cloud-apihub/system-test/install.ts b/packages/google-cloud-apihub/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-apihub/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-apiregistry/package.json b/packages/google-cloud-apiregistry/package.json index 39cab84a0d33..f80723452c13 100644 --- a/packages/google-cloud-apiregistry/package.json +++ b/packages/google-cloud-apiregistry/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-apiregistry/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apiregistry/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7d8cde602d32..000000000000 --- a/packages/google-cloud-apiregistry/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apiregistry = require('@google-cloud/apiregistry'); - -function main() { - const cloudApiRegistryClient = new apiregistry.CloudApiRegistryClient(); -} - -main(); diff --git a/packages/google-cloud-apiregistry/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apiregistry/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 13ff53413bda..000000000000 --- a/packages/google-cloud-apiregistry/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudApiRegistryClient} from '@google-cloud/apiregistry'; - -// check that the client class type name can be used -function doStuffWithCloudApiRegistryClient(client: CloudApiRegistryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudApiRegistryClient = new CloudApiRegistryClient(); - doStuffWithCloudApiRegistryClient(cloudApiRegistryClient); -} - -main(); diff --git a/packages/google-cloud-apiregistry/system-test/install.ts b/packages/google-cloud-apiregistry/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-apiregistry/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-apphub/package.json b/packages/google-cloud-apphub/package.json index d81e5d2e095e..044282718b66 100644 --- a/packages/google-cloud-apphub/package.json +++ b/packages/google-cloud-apphub/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.js b/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3f60b0f60fe4..000000000000 --- a/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 apphub = require('@google-cloud/apphub'); - -function main() { - const appHubClient = new apphub.AppHubClient(); -} - -main(); diff --git a/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4ee973ef6247..000000000000 --- a/packages/google-cloud-apphub/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AppHubClient} from '@google-cloud/apphub'; - -// check that the client class type name can be used -function doStuffWithAppHubClient(client: AppHubClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const appHubClient = new AppHubClient(); - doStuffWithAppHubClient(appHubClient); -} - -main(); diff --git a/packages/google-cloud-apphub/system-test/install.ts b/packages/google-cloud-apphub/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-apphub/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-asset/package.json b/packages/google-cloud-asset/package.json index bae894738ecf..cc32ab259531 100644 --- a/packages/google-cloud-asset/package.json +++ b/packages/google-cloud-asset/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-asset/system-test/fixtures/sample/src/index.js b/packages/google-cloud-asset/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a483c1902590..000000000000 --- a/packages/google-cloud-asset/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 asset = require('@google-cloud/asset'); - -function main() { - const assetServiceClient = new asset.AssetServiceClient(); -} - -main(); diff --git a/packages/google-cloud-asset/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-asset/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9e97334ff46b..000000000000 --- a/packages/google-cloud-asset/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AssetServiceClient} from '@google-cloud/asset'; - -// check that the client class type name can be used -function doStuffWithAssetServiceClient(client: AssetServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const assetServiceClient = new AssetServiceClient(); - doStuffWithAssetServiceClient(assetServiceClient); -} - -main(); diff --git a/packages/google-cloud-asset/system-test/install.ts b/packages/google-cloud-asset/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-asset/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-assuredworkloads/package.json b/packages/google-cloud-assuredworkloads/package.json index 8ae5b845bc2f..3913630c933d 100644 --- a/packages/google-cloud-assuredworkloads/package.json +++ b/packages/google-cloud-assuredworkloads/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.js b/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8957ed3893bb..000000000000 --- a/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 assuredworkloads = require('@google-cloud/assured-workloads'); - -function main() { - const assuredWorkloadsServiceClient = new assuredworkloads.AssuredWorkloadsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 59c12c12e091..000000000000 --- a/packages/google-cloud-assuredworkloads/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AssuredWorkloadsServiceClient} from '@google-cloud/assured-workloads'; - -// check that the client class type name can be used -function doStuffWithAssuredWorkloadsServiceClient(client: AssuredWorkloadsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const assuredWorkloadsServiceClient = new AssuredWorkloadsServiceClient(); - doStuffWithAssuredWorkloadsServiceClient(assuredWorkloadsServiceClient); -} - -main(); diff --git a/packages/google-cloud-assuredworkloads/system-test/install.ts b/packages/google-cloud-assuredworkloads/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-assuredworkloads/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-auditmanager/package.json b/packages/google-cloud-auditmanager/package.json index 4e3f590cb940..1affeb8898d6 100644 --- a/packages/google-cloud-auditmanager/package.json +++ b/packages/google-cloud-auditmanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-auditmanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-auditmanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 96152a5bd8a7..000000000000 --- a/packages/google-cloud-auditmanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 auditmanager = require('@google-cloud/auditmanager'); - -function main() { - const auditManagerClient = new auditmanager.AuditManagerClient(); -} - -main(); diff --git a/packages/google-cloud-auditmanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-auditmanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 7c3b180a41d6..000000000000 --- a/packages/google-cloud-auditmanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AuditManagerClient} from '@google-cloud/auditmanager'; - -// check that the client class type name can be used -function doStuffWithAuditManagerClient(client: AuditManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const auditManagerClient = new AuditManagerClient(); - doStuffWithAuditManagerClient(auditManagerClient); -} - -main(); diff --git a/packages/google-cloud-auditmanager/system-test/install.ts b/packages/google-cloud-auditmanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-auditmanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-automl/package.json b/packages/google-cloud-automl/package.json index 74513d7c4ac0..fd3738962f63 100644 --- a/packages/google-cloud-automl/package.json +++ b/packages/google-cloud-automl/package.json @@ -63,7 +63,6 @@ "long": "^5.3.1", "mocha": "^11.1.0", "null-loader": "^4.0.1", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "ts-loader": "^9.5.2", "typescript": "^5.8.2", diff --git a/packages/google-cloud-automl/system-test/fixtures/sample/src/index.js b/packages/google-cloud-automl/system-test/fixtures/sample/src/index.js deleted file mode 100644 index be2064758637..000000000000 --- a/packages/google-cloud-automl/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 automl = require('@google-cloud/automl'); - -function main() { - const autoMlClient = new automl.AutoMlClient(); - const predictionServiceClient = new automl.PredictionServiceClient(); -} - -main(); diff --git a/packages/google-cloud-automl/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-automl/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 89c67eb67e35..000000000000 --- a/packages/google-cloud-automl/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AutoMlClient, PredictionServiceClient} from '@google-cloud/automl'; - -// check that the client class type name can be used -function doStuffWithAutoMlClient(client: AutoMlClient) { - client.close(); -} -function doStuffWithPredictionServiceClient(client: PredictionServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const autoMlClient = new AutoMlClient(); - doStuffWithAutoMlClient(autoMlClient); - // check that the client instance can be created - const predictionServiceClient = new PredictionServiceClient(); - doStuffWithPredictionServiceClient(predictionServiceClient); -} - -main(); diff --git a/packages/google-cloud-automl/system-test/install.ts b/packages/google-cloud-automl/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-automl/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-backupdr/package.json b/packages/google-cloud-backupdr/package.json index 3f5ccc916b5b..d8076540757d 100644 --- a/packages/google-cloud-backupdr/package.json +++ b/packages/google-cloud-backupdr/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.js b/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6557b4188881..000000000000 --- a/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 backupdr = require('@google-cloud/backupdr'); - -function main() { - const backupDRClient = new backupdr.BackupDRClient(); - const backupDrProtectionSummaryClient = new backupdr.BackupDrProtectionSummaryClient(); -} - -main(); diff --git a/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b0ba9f95bdf8..000000000000 --- a/packages/google-cloud-backupdr/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BackupDRClient, BackupDrProtectionSummaryClient} from '@google-cloud/backupdr'; - -// check that the client class type name can be used -function doStuffWithBackupDRClient(client: BackupDRClient) { - client.close(); -} -function doStuffWithBackupDrProtectionSummaryClient(client: BackupDrProtectionSummaryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const backupDRClient = new BackupDRClient(); - doStuffWithBackupDRClient(backupDRClient); - // check that the client instance can be created - const backupDrProtectionSummaryClient = new BackupDrProtectionSummaryClient(); - doStuffWithBackupDrProtectionSummaryClient(backupDrProtectionSummaryClient); -} - -main(); diff --git a/packages/google-cloud-backupdr/system-test/install.ts b/packages/google-cloud-backupdr/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-backupdr/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-baremetalsolution/package.json b/packages/google-cloud-baremetalsolution/package.json index f630a6efb563..5ea861703704 100644 --- a/packages/google-cloud-baremetalsolution/package.json +++ b/packages/google-cloud-baremetalsolution/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.js b/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 464acb3dc3d0..000000000000 --- a/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 baremetalsolution = require('@google-cloud/bare-metal-solution'); - -function main() { - const bareMetalSolutionClient = new baremetalsolution.BareMetalSolutionClient(); -} - -main(); diff --git a/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 33c6b132f26c..000000000000 --- a/packages/google-cloud-baremetalsolution/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BareMetalSolutionClient} from '@google-cloud/bare-metal-solution'; - -// check that the client class type name can be used -function doStuffWithBareMetalSolutionClient(client: BareMetalSolutionClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const bareMetalSolutionClient = new BareMetalSolutionClient(); - doStuffWithBareMetalSolutionClient(bareMetalSolutionClient); -} - -main(); diff --git a/packages/google-cloud-baremetalsolution/system-test/install.ts b/packages/google-cloud-baremetalsolution/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-baremetalsolution/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-batch/package.json b/packages/google-cloud-batch/package.json index 5911af269ad8..63456df4d468 100644 --- a/packages/google-cloud-batch/package.json +++ b/packages/google-cloud-batch/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-batch/system-test/fixtures/sample/src/index.js b/packages/google-cloud-batch/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a7b74dabf309..000000000000 --- a/packages/google-cloud-batch/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 batch = require('@google-cloud/batch'); - -function main() { - const batchServiceClient = new batch.BatchServiceClient(); -} - -main(); diff --git a/packages/google-cloud-batch/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-batch/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4eb442e30674..000000000000 --- a/packages/google-cloud-batch/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BatchServiceClient} from '@google-cloud/batch'; - -// check that the client class type name can be used -function doStuffWithBatchServiceClient(client: BatchServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const batchServiceClient = new BatchServiceClient(); - doStuffWithBatchServiceClient(batchServiceClient); -} - -main(); diff --git a/packages/google-cloud-batch/system-test/install.ts b/packages/google-cloud-batch/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-batch/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-beyondcorp-appconnections/package.json b/packages/google-cloud-beyondcorp-appconnections/package.json index 3d00ff2c1ad3..9136178f6f2b 100644 --- a/packages/google-cloud-beyondcorp-appconnections/package.json +++ b/packages/google-cloud-beyondcorp-appconnections/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b09f20bd3948..000000000000 --- a/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 appconnections = require('@google-cloud/appconnections'); - -function main() { - const appConnectionsServiceClient = new appconnections.AppConnectionsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ac20fb6e0292..000000000000 --- a/packages/google-cloud-beyondcorp-appconnections/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AppConnectionsServiceClient} from '@google-cloud/appconnections'; - -// check that the client class type name can be used -function doStuffWithAppConnectionsServiceClient(client: AppConnectionsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const appConnectionsServiceClient = new AppConnectionsServiceClient(); - doStuffWithAppConnectionsServiceClient(appConnectionsServiceClient); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-appconnections/system-test/install.ts b/packages/google-cloud-beyondcorp-appconnections/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-beyondcorp-appconnections/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-beyondcorp-appconnectors/package.json b/packages/google-cloud-beyondcorp-appconnectors/package.json index 53ad14b79435..d681f7b2cf9a 100644 --- a/packages/google-cloud-beyondcorp-appconnectors/package.json +++ b/packages/google-cloud-beyondcorp-appconnectors/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js deleted file mode 100644 index e5357fd30d01..000000000000 --- a/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 appconnectors = require('@google-cloud/appconnectors'); - -function main() { - const appConnectorsServiceClient = new appconnectors.AppConnectorsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 356d53a61989..000000000000 --- a/packages/google-cloud-beyondcorp-appconnectors/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AppConnectorsServiceClient} from '@google-cloud/appconnectors'; - -// check that the client class type name can be used -function doStuffWithAppConnectorsServiceClient(client: AppConnectorsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const appConnectorsServiceClient = new AppConnectorsServiceClient(); - doStuffWithAppConnectorsServiceClient(appConnectorsServiceClient); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-appconnectors/system-test/install.ts b/packages/google-cloud-beyondcorp-appconnectors/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-beyondcorp-appconnectors/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-beyondcorp-appgateways/package.json b/packages/google-cloud-beyondcorp-appgateways/package.json index 533fa2218a56..02c22c7ce20f 100644 --- a/packages/google-cloud-beyondcorp-appgateways/package.json +++ b/packages/google-cloud-beyondcorp-appgateways/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9a73e003dae8..000000000000 --- a/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 appgateways = require('@google-cloud/appgateways'); - -function main() { - const appGatewaysServiceClient = new appgateways.AppGatewaysServiceClient(); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 3e6bc692a9a6..000000000000 --- a/packages/google-cloud-beyondcorp-appgateways/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AppGatewaysServiceClient} from '@google-cloud/appgateways'; - -// check that the client class type name can be used -function doStuffWithAppGatewaysServiceClient(client: AppGatewaysServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const appGatewaysServiceClient = new AppGatewaysServiceClient(); - doStuffWithAppGatewaysServiceClient(appGatewaysServiceClient); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-appgateways/system-test/install.ts b/packages/google-cloud-beyondcorp-appgateways/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-beyondcorp-appgateways/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/package.json b/packages/google-cloud-beyondcorp-clientconnectorservices/package.json index 0156743958e9..39653b43deb9 100644 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/package.json +++ b/packages/google-cloud-beyondcorp-clientconnectorservices/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b3005b60fcf0..000000000000 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 clientconnectorservices = require('@google-cloud/clientconnectorservices'); - -function main() { - const clientConnectorServicesServiceClient = new clientconnectorservices.ClientConnectorServicesServiceClient(); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 46e8dd6351e9..000000000000 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ClientConnectorServicesServiceClient} from '@google-cloud/clientconnectorservices'; - -// check that the client class type name can be used -function doStuffWithClientConnectorServicesServiceClient(client: ClientConnectorServicesServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const clientConnectorServicesServiceClient = new ClientConnectorServicesServiceClient(); - doStuffWithClientConnectorServicesServiceClient(clientConnectorServicesServiceClient); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/install.ts b/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-beyondcorp-clientconnectorservices/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-beyondcorp-clientgateways/package.json b/packages/google-cloud-beyondcorp-clientgateways/package.json index 5dd7d8abb10d..64d678dfa4d7 100644 --- a/packages/google-cloud-beyondcorp-clientgateways/package.json +++ b/packages/google-cloud-beyondcorp-clientgateways/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js b/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1d26b8f15db5..000000000000 --- a/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 clientgateways = require('@google-cloud/clientgateways'); - -function main() { - const clientGatewaysServiceClient = new clientgateways.ClientGatewaysServiceClient(); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 99e9494e427f..000000000000 --- a/packages/google-cloud-beyondcorp-clientgateways/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ClientGatewaysServiceClient} from '@google-cloud/clientgateways'; - -// check that the client class type name can be used -function doStuffWithClientGatewaysServiceClient(client: ClientGatewaysServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const clientGatewaysServiceClient = new ClientGatewaysServiceClient(); - doStuffWithClientGatewaysServiceClient(clientGatewaysServiceClient); -} - -main(); diff --git a/packages/google-cloud-beyondcorp-clientgateways/system-test/install.ts b/packages/google-cloud-beyondcorp-clientgateways/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-beyondcorp-clientgateways/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-analyticshub/package.json b/packages/google-cloud-bigquery-analyticshub/package.json index 6bb9038bb978..7bcbd9179182 100644 --- a/packages/google-cloud-bigquery-analyticshub/package.json +++ b/packages/google-cloud-bigquery-analyticshub/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3c22f3bc50a5..000000000000 --- a/packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 analyticshub = require('@google-cloud/bigquery-analyticshub'); - -function main() { - const analyticsHubServiceClient = new analyticshub.AnalyticsHubServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e06fda6d63b2..000000000000 --- a/packages/google-cloud-bigquery-analyticshub/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AnalyticsHubServiceClient} from '@google-cloud/bigquery-analyticshub'; - -// check that the client class type name can be used -function doStuffWithAnalyticsHubServiceClient(client: AnalyticsHubServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const analyticsHubServiceClient = new AnalyticsHubServiceClient(); - doStuffWithAnalyticsHubServiceClient(analyticsHubServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-analyticshub/system-test/install.ts b/packages/google-cloud-bigquery-analyticshub/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-bigquery-analyticshub/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-connection/package.json b/packages/google-cloud-bigquery-connection/package.json index 2fc601cf1887..e45b0022d412 100644 --- a/packages/google-cloud-bigquery-connection/package.json +++ b/packages/google-cloud-bigquery-connection/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-bigquery-connection/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-connection/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b8e38867f8f1..000000000000 --- a/packages/google-cloud-bigquery-connection/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 connection = require('@google-cloud/bigquery-connection'); - -function main() { - const connectionServiceClient = new connection.ConnectionServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-connection/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-connection/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 2b21890e816d..000000000000 --- a/packages/google-cloud-bigquery-connection/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConnectionServiceClient} from '@google-cloud/bigquery-connection'; - -// check that the client class type name can be used -function doStuffWithConnectionServiceClient(client: ConnectionServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const connectionServiceClient = new ConnectionServiceClient(); - doStuffWithConnectionServiceClient(connectionServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-connection/system-test/install.ts b/packages/google-cloud-bigquery-connection/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-bigquery-connection/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-dataexchange/package.json b/packages/google-cloud-bigquery-dataexchange/package.json index 75f0ca5df1b2..845a377fe050 100644 --- a/packages/google-cloud-bigquery-dataexchange/package.json +++ b/packages/google-cloud-bigquery-dataexchange/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-bigquery-dataexchange/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-dataexchange/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a818efd28c54..000000000000 --- a/packages/google-cloud-bigquery-dataexchange/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dataexchange = require('@google-cloud/bigquery-data-exchange'); - -function main() { - const analyticsHubServiceClient = new dataexchange.AnalyticsHubServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-dataexchange/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-dataexchange/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 53198b1c9e69..000000000000 --- a/packages/google-cloud-bigquery-dataexchange/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AnalyticsHubServiceClient} from '@google-cloud/bigquery-data-exchange'; - -// check that the client class type name can be used -function doStuffWithAnalyticsHubServiceClient(client: AnalyticsHubServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const analyticsHubServiceClient = new AnalyticsHubServiceClient(); - doStuffWithAnalyticsHubServiceClient(analyticsHubServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-dataexchange/system-test/install.ts b/packages/google-cloud-bigquery-dataexchange/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-bigquery-dataexchange/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-datapolicies/package.json b/packages/google-cloud-bigquery-datapolicies/package.json index c673077d2fd5..952bc95d54be 100644 --- a/packages/google-cloud-bigquery-datapolicies/package.json +++ b/packages/google-cloud-bigquery-datapolicies/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-bigquery-datapolicies/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-datapolicies/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 2a4c545cf925..000000000000 --- a/packages/google-cloud-bigquery-datapolicies/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datapolicies = require('@google-cloud/bigquery-datapolicies'); - -function main() { - const dataPolicyServiceClient = new datapolicies.DataPolicyServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-datapolicies/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-datapolicies/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 41b539631729..000000000000 --- a/packages/google-cloud-bigquery-datapolicies/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataPolicyServiceClient} from '@google-cloud/bigquery-datapolicies'; - -// check that the client class type name can be used -function doStuffWithDataPolicyServiceClient(client: DataPolicyServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataPolicyServiceClient = new DataPolicyServiceClient(); - doStuffWithDataPolicyServiceClient(dataPolicyServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-datapolicies/system-test/install.ts b/packages/google-cloud-bigquery-datapolicies/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-bigquery-datapolicies/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-datatransfer/package.json b/packages/google-cloud-bigquery-datatransfer/package.json index f6483fe18dd4..aea47336158c 100644 --- a/packages/google-cloud-bigquery-datatransfer/package.json +++ b/packages/google-cloud-bigquery-datatransfer/package.json @@ -44,7 +44,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-bigquery-datatransfer/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-datatransfer/system-test/fixtures/sample/src/index.js deleted file mode 100644 index fefc5479a19d..000000000000 --- a/packages/google-cloud-bigquery-datatransfer/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datatransfer = require('@google-cloud/bigquery-data-transfer'); - -function main() { - const dataTransferServiceClient = new datatransfer.DataTransferServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-datatransfer/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-datatransfer/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index cf9bda967998..000000000000 --- a/packages/google-cloud-bigquery-datatransfer/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataTransferServiceClient} from '@google-cloud/bigquery-data-transfer'; - -// check that the client class type name can be used -function doStuffWithDataTransferServiceClient(client: DataTransferServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataTransferServiceClient = new DataTransferServiceClient(); - doStuffWithDataTransferServiceClient(dataTransferServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-datatransfer/system-test/install.ts b/packages/google-cloud-bigquery-datatransfer/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-bigquery-datatransfer/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-migration/package.json b/packages/google-cloud-bigquery-migration/package.json index 15a29b016a8d..a326eecbe354 100644 --- a/packages/google-cloud-bigquery-migration/package.json +++ b/packages/google-cloud-bigquery-migration/package.json @@ -36,7 +36,7 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile", - "system-test": "npm run compile && c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -58,7 +58,6 @@ "long": "^5.3.1", "mocha": "^11.1.0", "null-loader": "^4.0.1", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "ts-loader": "^9.5.2", "typescript": "^5.8.2", diff --git a/packages/google-cloud-bigquery-migration/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-migration/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 72627c46161f..000000000000 --- a/packages/google-cloud-bigquery-migration/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 migration = require('@google-cloud/bigquery-migration'); - -function main() { - const migrationServiceClient = new migration.MigrationServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-migration/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-migration/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b4da9586f063..000000000000 --- a/packages/google-cloud-bigquery-migration/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MigrationServiceClient} from '@google-cloud/bigquery-migration'; - -// check that the client class type name can be used -function doStuffWithMigrationServiceClient(client: MigrationServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const migrationServiceClient = new MigrationServiceClient(); - doStuffWithMigrationServiceClient(migrationServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-migration/system-test/install.ts b/packages/google-cloud-bigquery-migration/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-bigquery-migration/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-bigquery-reservation/package.json b/packages/google-cloud-bigquery-reservation/package.json index 0164d5bb5c1d..d6d605da9d56 100644 --- a/packages/google-cloud-bigquery-reservation/package.json +++ b/packages/google-cloud-bigquery-reservation/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-bigquery-reservation/system-test/fixtures/sample/src/index.js b/packages/google-cloud-bigquery-reservation/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 550226df250f..000000000000 --- a/packages/google-cloud-bigquery-reservation/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 reservation = require('@google-cloud/bigquery-reservation'); - -function main() { - const reservationServiceClient = new reservation.ReservationServiceClient(); -} - -main(); diff --git a/packages/google-cloud-bigquery-reservation/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-bigquery-reservation/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 36fd255cefa1..000000000000 --- a/packages/google-cloud-bigquery-reservation/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ReservationServiceClient} from '@google-cloud/bigquery-reservation'; - -// check that the client class type name can be used -function doStuffWithReservationServiceClient(client: ReservationServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const reservationServiceClient = new ReservationServiceClient(); - doStuffWithReservationServiceClient(reservationServiceClient); -} - -main(); diff --git a/packages/google-cloud-bigquery-reservation/system-test/install.ts b/packages/google-cloud-bigquery-reservation/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-bigquery-reservation/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-billing-budgets/package.json b/packages/google-cloud-billing-budgets/package.json index 2cb2e0dcff53..95add3489272 100644 --- a/packages/google-cloud-billing-budgets/package.json +++ b/packages/google-cloud-billing-budgets/package.json @@ -26,7 +26,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-billing-budgets/system-test/fixtures/sample/src/index.js b/packages/google-cloud-billing-budgets/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 04a4e0949839..000000000000 --- a/packages/google-cloud-billing-budgets/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 budgets = require('@google-cloud/billing-budgets'); - -function main() { - const budgetServiceClient = new budgets.BudgetServiceClient(); -} - -main(); diff --git a/packages/google-cloud-billing-budgets/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-billing-budgets/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 416b1d07ab43..000000000000 --- a/packages/google-cloud-billing-budgets/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BudgetServiceClient} from '@google-cloud/billing-budgets'; - -// check that the client class type name can be used -function doStuffWithBudgetServiceClient(client: BudgetServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const budgetServiceClient = new BudgetServiceClient(); - doStuffWithBudgetServiceClient(budgetServiceClient); -} - -main(); diff --git a/packages/google-cloud-billing-budgets/system-test/install.ts b/packages/google-cloud-billing-budgets/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-billing-budgets/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-billing/package.json b/packages/google-cloud-billing/package.json index bf31c367632a..02321da0b700 100644 --- a/packages/google-cloud-billing/package.json +++ b/packages/google-cloud-billing/package.json @@ -27,7 +27,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -46,7 +46,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js b/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 897a46d1d0f5..000000000000 --- a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 billing = require('@google-cloud/billing'); - -function main() { - const cloudBillingClient = new billing.CloudBillingClient(); - const cloudCatalogClient = new billing.CloudCatalogClient(); -} - -main(); diff --git a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a30b52caf9f7..000000000000 --- a/packages/google-cloud-billing/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudBillingClient, CloudCatalogClient} from '@google-cloud/billing'; - -// check that the client class type name can be used -function doStuffWithCloudBillingClient(client: CloudBillingClient) { - client.close(); -} -function doStuffWithCloudCatalogClient(client: CloudCatalogClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudBillingClient = new CloudBillingClient(); - doStuffWithCloudBillingClient(cloudBillingClient); - // check that the client instance can be created - const cloudCatalogClient = new CloudCatalogClient(); - doStuffWithCloudCatalogClient(cloudCatalogClient); -} - -main(); diff --git a/packages/google-cloud-billing/system-test/install.ts b/packages/google-cloud-billing/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-billing/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-binaryauthorization/package.json b/packages/google-cloud-binaryauthorization/package.json index fa567d24883f..c86de279ddf0 100644 --- a/packages/google-cloud-binaryauthorization/package.json +++ b/packages/google-cloud-binaryauthorization/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-binaryauthorization/system-test/fixtures/sample/src/index.js b/packages/google-cloud-binaryauthorization/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 45ec4934a070..000000000000 --- a/packages/google-cloud-binaryauthorization/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 binaryauthorization = require('@google-cloud/binary-authorization'); - -function main() { - const binauthzManagementServiceV1Client = new binaryauthorization.BinauthzManagementServiceV1Client(); - const systemPolicyV1Client = new binaryauthorization.SystemPolicyV1Client(); - const validationHelperV1Client = new binaryauthorization.ValidationHelperV1Client(); -} - -main(); diff --git a/packages/google-cloud-binaryauthorization/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-binaryauthorization/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ffee8e631b58..000000000000 --- a/packages/google-cloud-binaryauthorization/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BinauthzManagementServiceV1Client, SystemPolicyV1Client, ValidationHelperV1Client} from '@google-cloud/binary-authorization'; - -// check that the client class type name can be used -function doStuffWithBinauthzManagementServiceV1Client(client: BinauthzManagementServiceV1Client) { - client.close(); -} -function doStuffWithSystemPolicyV1Client(client: SystemPolicyV1Client) { - client.close(); -} -function doStuffWithValidationHelperV1Client(client: ValidationHelperV1Client) { - client.close(); -} - -function main() { - // check that the client instance can be created - const binauthzManagementServiceV1Client = new BinauthzManagementServiceV1Client(); - doStuffWithBinauthzManagementServiceV1Client(binauthzManagementServiceV1Client); - // check that the client instance can be created - const systemPolicyV1Client = new SystemPolicyV1Client(); - doStuffWithSystemPolicyV1Client(systemPolicyV1Client); - // check that the client instance can be created - const validationHelperV1Client = new ValidationHelperV1Client(); - doStuffWithValidationHelperV1Client(validationHelperV1Client); -} - -main(); diff --git a/packages/google-cloud-binaryauthorization/system-test/install.ts b/packages/google-cloud-binaryauthorization/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-binaryauthorization/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-capacityplanner/package.json b/packages/google-cloud-capacityplanner/package.json index 4d2636e022fb..7958a72f7657 100644 --- a/packages/google-cloud-capacityplanner/package.json +++ b/packages/google-cloud-capacityplanner/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-capacityplanner/system-test/fixtures/sample/src/index.js b/packages/google-cloud-capacityplanner/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 63c87b511a69..000000000000 --- a/packages/google-cloud-capacityplanner/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 capacityplanner = require('@google-cloud/capacityplanner'); - -function main() { - const capacityPlanningServiceClient = new capacityplanner.CapacityPlanningServiceClient(); - const usageServiceClient = new capacityplanner.UsageServiceClient(); -} - -main(); diff --git a/packages/google-cloud-capacityplanner/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-capacityplanner/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e32c03aba2cd..000000000000 --- a/packages/google-cloud-capacityplanner/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CapacityPlanningServiceClient, UsageServiceClient} from '@google-cloud/capacityplanner'; - -// check that the client class type name can be used -function doStuffWithCapacityPlanningServiceClient(client: CapacityPlanningServiceClient) { - client.close(); -} -function doStuffWithUsageServiceClient(client: UsageServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const capacityPlanningServiceClient = new CapacityPlanningServiceClient(); - doStuffWithCapacityPlanningServiceClient(capacityPlanningServiceClient); - // check that the client instance can be created - const usageServiceClient = new UsageServiceClient(); - doStuffWithUsageServiceClient(usageServiceClient); -} - -main(); diff --git a/packages/google-cloud-capacityplanner/system-test/install.ts b/packages/google-cloud-capacityplanner/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-cloud-capacityplanner/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-certificatemanager/package.json b/packages/google-cloud-certificatemanager/package.json index fd9aa5a25250..151e81db5e17 100644 --- a/packages/google-cloud-certificatemanager/package.json +++ b/packages/google-cloud-certificatemanager/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-certificatemanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-certificatemanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5ac84282c1c6..000000000000 --- a/packages/google-cloud-certificatemanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 certificatemanager = require('@google-cloud/certificate-manager'); - -function main() { - const certificateManagerClient = new certificatemanager.CertificateManagerClient(); -} - -main(); diff --git a/packages/google-cloud-certificatemanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-certificatemanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index c10d36a92153..000000000000 --- a/packages/google-cloud-certificatemanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CertificateManagerClient} from '@google-cloud/certificate-manager'; - -// check that the client class type name can be used -function doStuffWithCertificateManagerClient(client: CertificateManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const certificateManagerClient = new CertificateManagerClient(); - doStuffWithCertificateManagerClient(certificateManagerClient); -} - -main(); diff --git a/packages/google-cloud-certificatemanager/system-test/install.ts b/packages/google-cloud-certificatemanager/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-certificatemanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-ces/package.json b/packages/google-cloud-ces/package.json index 93f4a6a41618..03c62bd0ae8b 100644 --- a/packages/google-cloud-ces/package.json +++ b/packages/google-cloud-ces/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-ces/system-test/fixtures/sample/src/index.js b/packages/google-cloud-ces/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5b0de58aa1ee..000000000000 --- a/packages/google-cloud-ces/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 ces = require('@google-cloud/ces'); - -function main() { - const agentServiceClient = new ces.AgentServiceClient(); - const sessionServiceClient = new ces.SessionServiceClient(); - const toolServiceClient = new ces.ToolServiceClient(); - const widgetServiceClient = new ces.WidgetServiceClient(); -} - -main(); diff --git a/packages/google-cloud-ces/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-ces/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 7aa59cc5d631..000000000000 --- a/packages/google-cloud-ces/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AgentServiceClient, SessionServiceClient, ToolServiceClient, WidgetServiceClient} from '@google-cloud/ces'; - -// check that the client class type name can be used -function doStuffWithAgentServiceClient(client: AgentServiceClient) { - client.close(); -} -function doStuffWithSessionServiceClient(client: SessionServiceClient) { - client.close(); -} -function doStuffWithToolServiceClient(client: ToolServiceClient) { - client.close(); -} -function doStuffWithWidgetServiceClient(client: WidgetServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const agentServiceClient = new AgentServiceClient(); - doStuffWithAgentServiceClient(agentServiceClient); - // check that the client instance can be created - const sessionServiceClient = new SessionServiceClient(); - doStuffWithSessionServiceClient(sessionServiceClient); - // check that the client instance can be created - const toolServiceClient = new ToolServiceClient(); - doStuffWithToolServiceClient(toolServiceClient); - // check that the client instance can be created - const widgetServiceClient = new WidgetServiceClient(); - doStuffWithWidgetServiceClient(widgetServiceClient); -} - -main(); diff --git a/packages/google-cloud-ces/system-test/install.ts b/packages/google-cloud-ces/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-ces/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-channel/package.json b/packages/google-cloud-channel/package.json index 5a6f0b8554fa..387f8da0797f 100644 --- a/packages/google-cloud-channel/package.json +++ b/packages/google-cloud-channel/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-channel/system-test/fixtures/sample/src/index.js b/packages/google-cloud-channel/system-test/fixtures/sample/src/index.js deleted file mode 100644 index c592d98477bb..000000000000 --- a/packages/google-cloud-channel/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 channel = require('@google-cloud/channel'); - -function main() { - const cloudChannelReportsServiceClient = new channel.CloudChannelReportsServiceClient(); - const cloudChannelServiceClient = new channel.CloudChannelServiceClient(); -} - -main(); diff --git a/packages/google-cloud-channel/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-channel/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 42e5fd458eb6..000000000000 --- a/packages/google-cloud-channel/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudChannelReportsServiceClient, CloudChannelServiceClient} from '@google-cloud/channel'; - -// check that the client class type name can be used -function doStuffWithCloudChannelReportsServiceClient(client: CloudChannelReportsServiceClient) { - client.close(); -} -function doStuffWithCloudChannelServiceClient(client: CloudChannelServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudChannelReportsServiceClient = new CloudChannelReportsServiceClient(); - doStuffWithCloudChannelReportsServiceClient(cloudChannelReportsServiceClient); - // check that the client instance can be created - const cloudChannelServiceClient = new CloudChannelServiceClient(); - doStuffWithCloudChannelServiceClient(cloudChannelServiceClient); -} - -main(); diff --git a/packages/google-cloud-channel/system-test/install.ts b/packages/google-cloud-channel/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-channel/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-chronicle/package.json b/packages/google-cloud-chronicle/package.json index 925367099268..e0a505f9dcda 100644 --- a/packages/google-cloud-chronicle/package.json +++ b/packages/google-cloud-chronicle/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-chronicle/system-test/fixtures/sample/src/index.js b/packages/google-cloud-chronicle/system-test/fixtures/sample/src/index.js deleted file mode 100644 index bf5aa16e2663..000000000000 --- a/packages/google-cloud-chronicle/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 chronicle = require('@google-cloud/chronicle'); - -function main() { - const dataAccessControlServiceClient = new chronicle.DataAccessControlServiceClient(); - const dataTableServiceClient = new chronicle.DataTableServiceClient(); - const entityServiceClient = new chronicle.EntityServiceClient(); - const instanceServiceClient = new chronicle.InstanceServiceClient(); - const referenceListServiceClient = new chronicle.ReferenceListServiceClient(); - const ruleServiceClient = new chronicle.RuleServiceClient(); -} - -main(); diff --git a/packages/google-cloud-chronicle/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-chronicle/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 64907d54b661..000000000000 --- a/packages/google-cloud-chronicle/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataAccessControlServiceClient, DataTableServiceClient, EntityServiceClient, InstanceServiceClient, ReferenceListServiceClient, RuleServiceClient} from '@google-cloud/chronicle'; - -// check that the client class type name can be used -function doStuffWithDataAccessControlServiceClient(client: DataAccessControlServiceClient) { - client.close(); -} -function doStuffWithDataTableServiceClient(client: DataTableServiceClient) { - client.close(); -} -function doStuffWithEntityServiceClient(client: EntityServiceClient) { - client.close(); -} -function doStuffWithInstanceServiceClient(client: InstanceServiceClient) { - client.close(); -} -function doStuffWithReferenceListServiceClient(client: ReferenceListServiceClient) { - client.close(); -} -function doStuffWithRuleServiceClient(client: RuleServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataAccessControlServiceClient = new DataAccessControlServiceClient(); - doStuffWithDataAccessControlServiceClient(dataAccessControlServiceClient); - // check that the client instance can be created - const dataTableServiceClient = new DataTableServiceClient(); - doStuffWithDataTableServiceClient(dataTableServiceClient); - // check that the client instance can be created - const entityServiceClient = new EntityServiceClient(); - doStuffWithEntityServiceClient(entityServiceClient); - // check that the client instance can be created - const instanceServiceClient = new InstanceServiceClient(); - doStuffWithInstanceServiceClient(instanceServiceClient); - // check that the client instance can be created - const referenceListServiceClient = new ReferenceListServiceClient(); - doStuffWithReferenceListServiceClient(referenceListServiceClient); - // check that the client instance can be created - const ruleServiceClient = new RuleServiceClient(); - doStuffWithRuleServiceClient(ruleServiceClient); -} - -main(); diff --git a/packages/google-cloud-chronicle/system-test/install.ts b/packages/google-cloud-chronicle/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-chronicle/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-cloudcontrolspartner/package.json b/packages/google-cloud-cloudcontrolspartner/package.json index f250a144ae49..5774f2699544 100644 --- a/packages/google-cloud-cloudcontrolspartner/package.json +++ b/packages/google-cloud-cloudcontrolspartner/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-cloudcontrolspartner/system-test/fixtures/sample/src/index.js b/packages/google-cloud-cloudcontrolspartner/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 961853c200fc..000000000000 --- a/packages/google-cloud-cloudcontrolspartner/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cloudcontrolspartner = require('@google-cloud/cloudcontrolspartner'); - -function main() { - const cloudControlsPartnerCoreClient = new cloudcontrolspartner.CloudControlsPartnerCoreClient(); - const cloudControlsPartnerMonitoringClient = new cloudcontrolspartner.CloudControlsPartnerMonitoringClient(); -} - -main(); diff --git a/packages/google-cloud-cloudcontrolspartner/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-cloudcontrolspartner/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b6619f27883c..000000000000 --- a/packages/google-cloud-cloudcontrolspartner/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudControlsPartnerCoreClient, CloudControlsPartnerMonitoringClient} from '@google-cloud/cloudcontrolspartner'; - -// check that the client class type name can be used -function doStuffWithCloudControlsPartnerCoreClient(client: CloudControlsPartnerCoreClient) { - client.close(); -} -function doStuffWithCloudControlsPartnerMonitoringClient(client: CloudControlsPartnerMonitoringClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudControlsPartnerCoreClient = new CloudControlsPartnerCoreClient(); - doStuffWithCloudControlsPartnerCoreClient(cloudControlsPartnerCoreClient); - // check that the client instance can be created - const cloudControlsPartnerMonitoringClient = new CloudControlsPartnerMonitoringClient(); - doStuffWithCloudControlsPartnerMonitoringClient(cloudControlsPartnerMonitoringClient); -} - -main(); diff --git a/packages/google-cloud-cloudcontrolspartner/system-test/install.ts b/packages/google-cloud-cloudcontrolspartner/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-cloudcontrolspartner/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-clouddms/package.json b/packages/google-cloud-clouddms/package.json index 7c21f65d335b..b93e709d5035 100644 --- a/packages/google-cloud-clouddms/package.json +++ b/packages/google-cloud-clouddms/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -61,7 +61,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-clouddms/system-test/fixtures/sample/src/index.js b/packages/google-cloud-clouddms/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 41e0707149a5..000000000000 --- a/packages/google-cloud-clouddms/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 clouddms = require('@google-cloud/dms'); - -function main() { - const dataMigrationServiceClient = new clouddms.DataMigrationServiceClient(); -} - -main(); diff --git a/packages/google-cloud-clouddms/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-clouddms/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index cc28cdf2c514..000000000000 --- a/packages/google-cloud-clouddms/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataMigrationServiceClient} from '@google-cloud/dms'; - -// check that the client class type name can be used -function doStuffWithDataMigrationServiceClient(client: DataMigrationServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataMigrationServiceClient = new DataMigrationServiceClient(); - doStuffWithDataMigrationServiceClient(dataMigrationServiceClient); -} - -main(); diff --git a/packages/google-cloud-clouddms/system-test/install.ts b/packages/google-cloud-clouddms/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-clouddms/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-cloudsecuritycompliance/package.json b/packages/google-cloud-cloudsecuritycompliance/package.json index d9ca96278d98..c61533417199 100644 --- a/packages/google-cloud-cloudsecuritycompliance/package.json +++ b/packages/google-cloud-cloudsecuritycompliance/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-cloudsecuritycompliance/system-test/fixtures/sample/src/index.js b/packages/google-cloud-cloudsecuritycompliance/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6fb1aa753faa..000000000000 --- a/packages/google-cloud-cloudsecuritycompliance/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cloudsecuritycompliance = require('@google-cloud/cloudsecuritycompliance'); - -function main() { - const auditClient = new cloudsecuritycompliance.AuditClient(); - const cmEnrollmentServiceClient = new cloudsecuritycompliance.CmEnrollmentServiceClient(); - const configClient = new cloudsecuritycompliance.ConfigClient(); - const deploymentClient = new cloudsecuritycompliance.DeploymentClient(); - const monitoringClient = new cloudsecuritycompliance.MonitoringClient(); -} - -main(); diff --git a/packages/google-cloud-cloudsecuritycompliance/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-cloudsecuritycompliance/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 960d47e3e549..000000000000 --- a/packages/google-cloud-cloudsecuritycompliance/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AuditClient, CmEnrollmentServiceClient, ConfigClient, DeploymentClient, MonitoringClient} from '@google-cloud/cloudsecuritycompliance'; - -// check that the client class type name can be used -function doStuffWithAuditClient(client: AuditClient) { - client.close(); -} -function doStuffWithCmEnrollmentServiceClient(client: CmEnrollmentServiceClient) { - client.close(); -} -function doStuffWithConfigClient(client: ConfigClient) { - client.close(); -} -function doStuffWithDeploymentClient(client: DeploymentClient) { - client.close(); -} -function doStuffWithMonitoringClient(client: MonitoringClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const auditClient = new AuditClient(); - doStuffWithAuditClient(auditClient); - // check that the client instance can be created - const cmEnrollmentServiceClient = new CmEnrollmentServiceClient(); - doStuffWithCmEnrollmentServiceClient(cmEnrollmentServiceClient); - // check that the client instance can be created - const configClient = new ConfigClient(); - doStuffWithConfigClient(configClient); - // check that the client instance can be created - const deploymentClient = new DeploymentClient(); - doStuffWithDeploymentClient(deploymentClient); - // check that the client instance can be created - const monitoringClient = new MonitoringClient(); - doStuffWithMonitoringClient(monitoringClient); -} - -main(); diff --git a/packages/google-cloud-cloudsecuritycompliance/system-test/install.ts b/packages/google-cloud-cloudsecuritycompliance/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-cloudsecuritycompliance/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-commerce-consumer-procurement/package.json b/packages/google-cloud-commerce-consumer-procurement/package.json index ba9aa1fdcece..d433ad1e3c19 100644 --- a/packages/google-cloud-commerce-consumer-procurement/package.json +++ b/packages/google-cloud-commerce-consumer-procurement/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -60,7 +60,6 @@ "long": "^5.3.1", "mocha": "^11.1.0", "null-loader": "^4.0.1", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "ts-loader": "^9.5.2", "typescript": "^5.8.2", diff --git a/packages/google-cloud-commerce-consumer-procurement/system-test/fixtures/sample/src/index.js b/packages/google-cloud-commerce-consumer-procurement/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8ff813d38cae..000000000000 --- a/packages/google-cloud-commerce-consumer-procurement/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 procurement = require('@google-cloud/procurement'); - -function main() { - const consumerProcurementServiceClient = new procurement.ConsumerProcurementServiceClient(); - const licenseManagementServiceClient = new procurement.LicenseManagementServiceClient(); -} - -main(); diff --git a/packages/google-cloud-commerce-consumer-procurement/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-commerce-consumer-procurement/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index f897f3439886..000000000000 --- a/packages/google-cloud-commerce-consumer-procurement/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConsumerProcurementServiceClient, LicenseManagementServiceClient} from '@google-cloud/procurement'; - -// check that the client class type name can be used -function doStuffWithConsumerProcurementServiceClient(client: ConsumerProcurementServiceClient) { - client.close(); -} -function doStuffWithLicenseManagementServiceClient(client: LicenseManagementServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const consumerProcurementServiceClient = new ConsumerProcurementServiceClient(); - doStuffWithConsumerProcurementServiceClient(consumerProcurementServiceClient); - // check that the client instance can be created - const licenseManagementServiceClient = new LicenseManagementServiceClient(); - doStuffWithLicenseManagementServiceClient(licenseManagementServiceClient); -} - -main(); diff --git a/packages/google-cloud-commerce-consumer-procurement/system-test/install.ts b/packages/google-cloud-commerce-consumer-procurement/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-commerce-consumer-procurement/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-compute/package.json b/packages/google-cloud-compute/package.json index 98b4abf49881..fedc98e60a5e 100644 --- a/packages/google-cloud-compute/package.json +++ b/packages/google-cloud-compute/package.json @@ -140,7 +140,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2", "uuid": "^11.1.0" diff --git a/packages/google-cloud-compute/system-test/fixtures/sample/src/index.js b/packages/google-cloud-compute/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9fe84b556875..000000000000 --- a/packages/google-cloud-compute/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 compute = require('@google-cloud/compute'); - -function main() { - const addressesClient = new compute.AddressesClient(); - const regionOperationsClient = new compute.RegionOperationsClient(); -} - -main(); diff --git a/packages/google-cloud-compute/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-compute/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 33f6383ebf4c..000000000000 --- a/packages/google-cloud-compute/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AddressesClient, RegionOperationsClient} from '@google-cloud/compute'; - -// check that the client class type name can be used -function doStuffWithAddressesClient(client: AddressesClient) { - client.close(); -} -function doStuffWithRegionOperationsClient(client: RegionOperationsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const addressesClient = new AddressesClient(); - doStuffWithAddressesClient(addressesClient); - // check that the client instance can be created - const regionOperationsClient = new RegionOperationsClient(); - doStuffWithRegionOperationsClient(regionOperationsClient); -} - -main(); diff --git a/packages/google-cloud-compute/system-test/install.ts b/packages/google-cloud-compute/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-compute/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-confidentialcomputing/package.json b/packages/google-cloud-confidentialcomputing/package.json index 5f70ef024598..a897faebeb03 100644 --- a/packages/google-cloud-confidentialcomputing/package.json +++ b/packages/google-cloud-confidentialcomputing/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-confidentialcomputing/system-test/fixtures/sample/src/index.js b/packages/google-cloud-confidentialcomputing/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8a73cd394d2f..000000000000 --- a/packages/google-cloud-confidentialcomputing/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 confidentialcomputing = require('@google-cloud/confidentialcomputing'); - -function main() { - const confidentialComputingClient = new confidentialcomputing.ConfidentialComputingClient(); -} - -main(); diff --git a/packages/google-cloud-confidentialcomputing/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-confidentialcomputing/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b4a2af4297c1..000000000000 --- a/packages/google-cloud-confidentialcomputing/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConfidentialComputingClient} from '@google-cloud/confidentialcomputing'; - -// check that the client class type name can be used -function doStuffWithConfidentialComputingClient(client: ConfidentialComputingClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const confidentialComputingClient = new ConfidentialComputingClient(); - doStuffWithConfidentialComputingClient(confidentialComputingClient); -} - -main(); diff --git a/packages/google-cloud-confidentialcomputing/system-test/install.ts b/packages/google-cloud-confidentialcomputing/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-confidentialcomputing/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-config/package.json b/packages/google-cloud-config/package.json index 1d8e3a2a2289..25d744b017c9 100644 --- a/packages/google-cloud-config/package.json +++ b/packages/google-cloud-config/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-config/system-test/fixtures/sample/src/index.js b/packages/google-cloud-config/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 50af44d34cfe..000000000000 --- a/packages/google-cloud-config/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 config = require('@google-cloud/config'); - -function main() { - const configClient = new config.ConfigClient(); -} - -main(); diff --git a/packages/google-cloud-config/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-config/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 273682dac592..000000000000 --- a/packages/google-cloud-config/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConfigClient} from '@google-cloud/config'; - -// check that the client class type name can be used -function doStuffWithConfigClient(client: ConfigClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const configClient = new ConfigClient(); - doStuffWithConfigClient(configClient); -} - -main(); diff --git a/packages/google-cloud-config/system-test/install.ts b/packages/google-cloud-config/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-config/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-configdelivery/package.json b/packages/google-cloud-configdelivery/package.json index 0fc85faa7a3c..1ff032a2d7ac 100644 --- a/packages/google-cloud-configdelivery/package.json +++ b/packages/google-cloud-configdelivery/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-configdelivery/system-test/fixtures/sample/src/index.js b/packages/google-cloud-configdelivery/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5a473086a8cb..000000000000 --- a/packages/google-cloud-configdelivery/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 configdelivery = require('@google-cloud/configdelivery'); - -function main() { - const configDeliveryClient = new configdelivery.ConfigDeliveryClient(); -} - -main(); diff --git a/packages/google-cloud-configdelivery/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-configdelivery/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4d32d71de609..000000000000 --- a/packages/google-cloud-configdelivery/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConfigDeliveryClient} from '@google-cloud/configdelivery'; - -// check that the client class type name can be used -function doStuffWithConfigDeliveryClient(client: ConfigDeliveryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const configDeliveryClient = new ConfigDeliveryClient(); - doStuffWithConfigDeliveryClient(configDeliveryClient); -} - -main(); diff --git a/packages/google-cloud-configdelivery/system-test/install.ts b/packages/google-cloud-configdelivery/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-configdelivery/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-connectors/package.json b/packages/google-cloud-connectors/package.json index 58622585086a..7f9e0953024c 100644 --- a/packages/google-cloud-connectors/package.json +++ b/packages/google-cloud-connectors/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-connectors/system-test/fixtures/sample/src/index.js b/packages/google-cloud-connectors/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 61fb1be07bee..000000000000 --- a/packages/google-cloud-connectors/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 connectors = require('@google-cloud/connectors'); - -function main() { - const connectorsClient = new connectors.ConnectorsClient(); -} - -main(); diff --git a/packages/google-cloud-connectors/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-connectors/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1ab3d03d0ca5..000000000000 --- a/packages/google-cloud-connectors/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConnectorsClient} from '@google-cloud/connectors'; - -// check that the client class type name can be used -function doStuffWithConnectorsClient(client: ConnectorsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const connectorsClient = new ConnectorsClient(); - doStuffWithConnectorsClient(connectorsClient); -} - -main(); diff --git a/packages/google-cloud-connectors/system-test/install.ts b/packages/google-cloud-connectors/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-connectors/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-contactcenterinsights/package.json b/packages/google-cloud-contactcenterinsights/package.json index a81cee4110ee..b90a8c239069 100644 --- a/packages/google-cloud-contactcenterinsights/package.json +++ b/packages/google-cloud-contactcenterinsights/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-contactcenterinsights/system-test/fixtures/sample/src/index.js b/packages/google-cloud-contactcenterinsights/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 31f67c28065d..000000000000 --- a/packages/google-cloud-contactcenterinsights/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 contactcenterinsights = require('@google-cloud/contact-center-insights'); - -function main() { - const contactCenterInsightsClient = new contactcenterinsights.ContactCenterInsightsClient(); -} - -main(); diff --git a/packages/google-cloud-contactcenterinsights/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-contactcenterinsights/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 17f47e200163..000000000000 --- a/packages/google-cloud-contactcenterinsights/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ContactCenterInsightsClient} from '@google-cloud/contact-center-insights'; - -// check that the client class type name can be used -function doStuffWithContactCenterInsightsClient(client: ContactCenterInsightsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const contactCenterInsightsClient = new ContactCenterInsightsClient(); - doStuffWithContactCenterInsightsClient(contactCenterInsightsClient); -} - -main(); diff --git a/packages/google-cloud-contactcenterinsights/system-test/install.ts b/packages/google-cloud-contactcenterinsights/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-contactcenterinsights/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-contentwarehouse/package.json b/packages/google-cloud-contentwarehouse/package.json index 60e02b0051b1..4f70d47621fc 100644 --- a/packages/google-cloud-contentwarehouse/package.json +++ b/packages/google-cloud-contentwarehouse/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-contentwarehouse/system-test/fixtures/sample/src/index.js b/packages/google-cloud-contentwarehouse/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 55706ecff785..000000000000 --- a/packages/google-cloud-contentwarehouse/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 contentwarehouse = require('@google-cloud/contentwarehouse'); - -function main() { - const documentLinkServiceClient = new contentwarehouse.DocumentLinkServiceClient(); - const documentSchemaServiceClient = new contentwarehouse.DocumentSchemaServiceClient(); - const documentServiceClient = new contentwarehouse.DocumentServiceClient(); - const pipelineServiceClient = new contentwarehouse.PipelineServiceClient(); - const ruleSetServiceClient = new contentwarehouse.RuleSetServiceClient(); - const synonymSetServiceClient = new contentwarehouse.SynonymSetServiceClient(); -} - -main(); diff --git a/packages/google-cloud-contentwarehouse/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-contentwarehouse/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 46c47122125b..000000000000 --- a/packages/google-cloud-contentwarehouse/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DocumentLinkServiceClient, DocumentSchemaServiceClient, DocumentServiceClient, PipelineServiceClient, RuleSetServiceClient, SynonymSetServiceClient} from '@google-cloud/contentwarehouse'; - -// check that the client class type name can be used -function doStuffWithDocumentLinkServiceClient(client: DocumentLinkServiceClient) { - client.close(); -} -function doStuffWithDocumentSchemaServiceClient(client: DocumentSchemaServiceClient) { - client.close(); -} -function doStuffWithDocumentServiceClient(client: DocumentServiceClient) { - client.close(); -} -function doStuffWithPipelineServiceClient(client: PipelineServiceClient) { - client.close(); -} -function doStuffWithRuleSetServiceClient(client: RuleSetServiceClient) { - client.close(); -} -function doStuffWithSynonymSetServiceClient(client: SynonymSetServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const documentLinkServiceClient = new DocumentLinkServiceClient(); - doStuffWithDocumentLinkServiceClient(documentLinkServiceClient); - // check that the client instance can be created - const documentSchemaServiceClient = new DocumentSchemaServiceClient(); - doStuffWithDocumentSchemaServiceClient(documentSchemaServiceClient); - // check that the client instance can be created - const documentServiceClient = new DocumentServiceClient(); - doStuffWithDocumentServiceClient(documentServiceClient); - // check that the client instance can be created - const pipelineServiceClient = new PipelineServiceClient(); - doStuffWithPipelineServiceClient(pipelineServiceClient); - // check that the client instance can be created - const ruleSetServiceClient = new RuleSetServiceClient(); - doStuffWithRuleSetServiceClient(ruleSetServiceClient); - // check that the client instance can be created - const synonymSetServiceClient = new SynonymSetServiceClient(); - doStuffWithSynonymSetServiceClient(synonymSetServiceClient); -} - -main(); diff --git a/packages/google-cloud-contentwarehouse/system-test/install.ts b/packages/google-cloud-contentwarehouse/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-contentwarehouse/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/package.json b/packages/google-cloud-datacatalog-lineage-configmanagement/package.json index 2fb0c39d36ab..c7d48c242901 100644 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/package.json +++ b/packages/google-cloud-datacatalog-lineage-configmanagement/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/fixtures/sample/src/index.js b/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 80935b9ef254..000000000000 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 configmanagement = require('@google-cloud/configmanagement'); - -function main() { - const configManagementServiceClient = new configmanagement.ConfigManagementServiceClient(); -} - -main(); diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b630fb9c4835..000000000000 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConfigManagementServiceClient} from '@google-cloud/configmanagement'; - -// check that the client class type name can be used -function doStuffWithConfigManagementServiceClient(client: ConfigManagementServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const configManagementServiceClient = new ConfigManagementServiceClient(); - doStuffWithConfigManagementServiceClient(configManagementServiceClient); -} - -main(); diff --git a/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/install.ts b/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-datacatalog-lineage-configmanagement/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-datacatalog-lineage/package.json b/packages/google-cloud-datacatalog-lineage/package.json index 149148ddcc29..befd920e0e2c 100644 --- a/packages/google-cloud-datacatalog-lineage/package.json +++ b/packages/google-cloud-datacatalog-lineage/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-datacatalog-lineage/system-test/fixtures/sample/src/index.js b/packages/google-cloud-datacatalog-lineage/system-test/fixtures/sample/src/index.js deleted file mode 100644 index d323a9f5287b..000000000000 --- a/packages/google-cloud-datacatalog-lineage/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 lineage = require('@google-cloud/lineage'); - -function main() { - const lineageClient = new lineage.LineageClient(); -} - -main(); diff --git a/packages/google-cloud-datacatalog-lineage/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-datacatalog-lineage/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1911c0aa4d80..000000000000 --- a/packages/google-cloud-datacatalog-lineage/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LineageClient} from '@google-cloud/lineage'; - -// check that the client class type name can be used -function doStuffWithLineageClient(client: LineageClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const lineageClient = new LineageClient(); - doStuffWithLineageClient(lineageClient); -} - -main(); diff --git a/packages/google-cloud-datacatalog-lineage/system-test/install.ts b/packages/google-cloud-datacatalog-lineage/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-datacatalog-lineage/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-datacatalog/package.json b/packages/google-cloud-datacatalog/package.json index c48483866ae3..04599420a3ed 100644 --- a/packages/google-cloud-datacatalog/package.json +++ b/packages/google-cloud-datacatalog/package.json @@ -45,7 +45,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, @@ -62,7 +61,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "license": "Apache-2.0", diff --git a/packages/google-cloud-datacatalog/system-test/fixtures/sample/src/index.js b/packages/google-cloud-datacatalog/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 66a344c056b8..000000000000 --- a/packages/google-cloud-datacatalog/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datacatalog = require('@google-cloud/datacatalog'); - -function main() { - const dataCatalogClient = new datacatalog.DataCatalogClient(); - const policyTagManagerClient = new datacatalog.PolicyTagManagerClient(); - const policyTagManagerSerializationClient = new datacatalog.PolicyTagManagerSerializationClient(); -} - -main(); diff --git a/packages/google-cloud-datacatalog/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-datacatalog/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d3ca267b0e1d..000000000000 --- a/packages/google-cloud-datacatalog/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataCatalogClient, PolicyTagManagerClient, PolicyTagManagerSerializationClient} from '@google-cloud/datacatalog'; - -// check that the client class type name can be used -function doStuffWithDataCatalogClient(client: DataCatalogClient) { - client.close(); -} -function doStuffWithPolicyTagManagerClient(client: PolicyTagManagerClient) { - client.close(); -} -function doStuffWithPolicyTagManagerSerializationClient(client: PolicyTagManagerSerializationClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataCatalogClient = new DataCatalogClient(); - doStuffWithDataCatalogClient(dataCatalogClient); - // check that the client instance can be created - const policyTagManagerClient = new PolicyTagManagerClient(); - doStuffWithPolicyTagManagerClient(policyTagManagerClient); - // check that the client instance can be created - const policyTagManagerSerializationClient = new PolicyTagManagerSerializationClient(); - doStuffWithPolicyTagManagerSerializationClient(policyTagManagerSerializationClient); -} - -main(); diff --git a/packages/google-cloud-datacatalog/system-test/install.ts b/packages/google-cloud-datacatalog/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-datacatalog/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-dataform/package.json b/packages/google-cloud-dataform/package.json index de6c7d9a6735..a2b1311c74a9 100644 --- a/packages/google-cloud-dataform/package.json +++ b/packages/google-cloud-dataform/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-dataform/system-test/fixtures/sample/src/index.js b/packages/google-cloud-dataform/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 90c8d76b42f7..000000000000 --- a/packages/google-cloud-dataform/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dataform = require('@google-cloud/dataform'); - -function main() { - const dataformClient = new dataform.DataformClient(); -} - -main(); diff --git a/packages/google-cloud-dataform/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-dataform/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 03e417dbac76..000000000000 --- a/packages/google-cloud-dataform/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataformClient} from '@google-cloud/dataform'; - -// check that the client class type name can be used -function doStuffWithDataformClient(client: DataformClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataformClient = new DataformClient(); - doStuffWithDataformClient(dataformClient); -} - -main(); diff --git a/packages/google-cloud-dataform/system-test/install.ts b/packages/google-cloud-dataform/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-dataform/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-datafusion/package.json b/packages/google-cloud-datafusion/package.json index 61fc5c436440..87c07cef06e0 100644 --- a/packages/google-cloud-datafusion/package.json +++ b/packages/google-cloud-datafusion/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-datafusion/system-test/fixtures/sample/src/index.js b/packages/google-cloud-datafusion/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6826b9856267..000000000000 --- a/packages/google-cloud-datafusion/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datafusion = require('@google-cloud/data-fusion'); - -function main() { - const dataFusionClient = new datafusion.DataFusionClient(); -} - -main(); diff --git a/packages/google-cloud-datafusion/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-datafusion/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4b0fb7e50283..000000000000 --- a/packages/google-cloud-datafusion/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataFusionClient} from '@google-cloud/data-fusion'; - -// check that the client class type name can be used -function doStuffWithDataFusionClient(client: DataFusionClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataFusionClient = new DataFusionClient(); - doStuffWithDataFusionClient(dataFusionClient); -} - -main(); diff --git a/packages/google-cloud-datafusion/system-test/install.ts b/packages/google-cloud-datafusion/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-datafusion/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-datalabeling/package.json b/packages/google-cloud-datalabeling/package.json index 5f0e60f82cea..ea4e47c9ac87 100644 --- a/packages/google-cloud-datalabeling/package.json +++ b/packages/google-cloud-datalabeling/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-datalabeling/system-test/fixtures/sample/src/index.js b/packages/google-cloud-datalabeling/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 911bb9a42a54..000000000000 --- a/packages/google-cloud-datalabeling/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datalabeling = require('@google-cloud/datalabeling'); - -function main() { - const dataLabelingServiceClient = new datalabeling.DataLabelingServiceClient(); -} - -main(); diff --git a/packages/google-cloud-datalabeling/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-datalabeling/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 8126d12ec812..000000000000 --- a/packages/google-cloud-datalabeling/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataLabelingServiceClient} from '@google-cloud/datalabeling'; - -// check that the client class type name can be used -function doStuffWithDataLabelingServiceClient(client: DataLabelingServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataLabelingServiceClient = new DataLabelingServiceClient(); - doStuffWithDataLabelingServiceClient(dataLabelingServiceClient); -} - -main(); diff --git a/packages/google-cloud-datalabeling/system-test/install.ts b/packages/google-cloud-datalabeling/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-datalabeling/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-dataplex/package.json b/packages/google-cloud-dataplex/package.json index c5d2d1a9f519..48857a465837 100644 --- a/packages/google-cloud-dataplex/package.json +++ b/packages/google-cloud-dataplex/package.json @@ -42,7 +42,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-dataplex/system-test/fixtures/sample/src/index.js b/packages/google-cloud-dataplex/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8429f0b52744..000000000000 --- a/packages/google-cloud-dataplex/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dataplex = require('@google-cloud/dataplex'); - -function main() { - const businessGlossaryServiceClient = new dataplex.BusinessGlossaryServiceClient(); - const catalogServiceClient = new dataplex.CatalogServiceClient(); - const cmekServiceClient = new dataplex.CmekServiceClient(); - const contentServiceClient = new dataplex.ContentServiceClient(); - const dataplexServiceClient = new dataplex.DataplexServiceClient(); - const dataProductServiceClient = new dataplex.DataProductServiceClient(); - const dataScanServiceClient = new dataplex.DataScanServiceClient(); - const dataTaxonomyServiceClient = new dataplex.DataTaxonomyServiceClient(); - const metadataServiceClient = new dataplex.MetadataServiceClient(); -} - -main(); diff --git a/packages/google-cloud-dataplex/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-dataplex/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 2b331f4bf5c6..000000000000 --- a/packages/google-cloud-dataplex/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BusinessGlossaryServiceClient, CatalogServiceClient, CmekServiceClient, ContentServiceClient, DataplexServiceClient, DataProductServiceClient, DataScanServiceClient, DataTaxonomyServiceClient, MetadataServiceClient} from '@google-cloud/dataplex'; - -// check that the client class type name can be used -function doStuffWithBusinessGlossaryServiceClient(client: BusinessGlossaryServiceClient) { - client.close(); -} -function doStuffWithCatalogServiceClient(client: CatalogServiceClient) { - client.close(); -} -function doStuffWithCmekServiceClient(client: CmekServiceClient) { - client.close(); -} -function doStuffWithContentServiceClient(client: ContentServiceClient) { - client.close(); -} -function doStuffWithDataplexServiceClient(client: DataplexServiceClient) { - client.close(); -} -function doStuffWithDataProductServiceClient(client: DataProductServiceClient) { - client.close(); -} -function doStuffWithDataScanServiceClient(client: DataScanServiceClient) { - client.close(); -} -function doStuffWithDataTaxonomyServiceClient(client: DataTaxonomyServiceClient) { - client.close(); -} -function doStuffWithMetadataServiceClient(client: MetadataServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const businessGlossaryServiceClient = new BusinessGlossaryServiceClient(); - doStuffWithBusinessGlossaryServiceClient(businessGlossaryServiceClient); - // check that the client instance can be created - const catalogServiceClient = new CatalogServiceClient(); - doStuffWithCatalogServiceClient(catalogServiceClient); - // check that the client instance can be created - const cmekServiceClient = new CmekServiceClient(); - doStuffWithCmekServiceClient(cmekServiceClient); - // check that the client instance can be created - const contentServiceClient = new ContentServiceClient(); - doStuffWithContentServiceClient(contentServiceClient); - // check that the client instance can be created - const dataplexServiceClient = new DataplexServiceClient(); - doStuffWithDataplexServiceClient(dataplexServiceClient); - // check that the client instance can be created - const dataProductServiceClient = new DataProductServiceClient(); - doStuffWithDataProductServiceClient(dataProductServiceClient); - // check that the client instance can be created - const dataScanServiceClient = new DataScanServiceClient(); - doStuffWithDataScanServiceClient(dataScanServiceClient); - // check that the client instance can be created - const dataTaxonomyServiceClient = new DataTaxonomyServiceClient(); - doStuffWithDataTaxonomyServiceClient(dataTaxonomyServiceClient); - // check that the client instance can be created - const metadataServiceClient = new MetadataServiceClient(); - doStuffWithMetadataServiceClient(metadataServiceClient); -} - -main(); diff --git a/packages/google-cloud-dataplex/system-test/install.ts b/packages/google-cloud-dataplex/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-dataplex/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-dataproc/package.json b/packages/google-cloud-dataproc/package.json index b6abe95c2bbc..5d33e27e740c 100644 --- a/packages/google-cloud-dataproc/package.json +++ b/packages/google-cloud-dataproc/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-dataproc/system-test/fixtures/sample/src/index.js b/packages/google-cloud-dataproc/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 614acc37b5cf..000000000000 --- a/packages/google-cloud-dataproc/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dataproc = require('@google-cloud/dataproc'); - -function main() { - const autoscalingPolicyServiceClient = new dataproc.AutoscalingPolicyServiceClient(); - const batchControllerClient = new dataproc.BatchControllerClient(); - const clusterControllerClient = new dataproc.ClusterControllerClient(); - const jobControllerClient = new dataproc.JobControllerClient(); - const nodeGroupControllerClient = new dataproc.NodeGroupControllerClient(); - const sessionControllerClient = new dataproc.SessionControllerClient(); - const sessionTemplateControllerClient = new dataproc.SessionTemplateControllerClient(); - const workflowTemplateServiceClient = new dataproc.WorkflowTemplateServiceClient(); -} - -main(); diff --git a/packages/google-cloud-dataproc/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-dataproc/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1fb8c08a3116..000000000000 --- a/packages/google-cloud-dataproc/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AutoscalingPolicyServiceClient, BatchControllerClient, ClusterControllerClient, JobControllerClient, NodeGroupControllerClient, SessionControllerClient, SessionTemplateControllerClient, WorkflowTemplateServiceClient} from '@google-cloud/dataproc'; - -// check that the client class type name can be used -function doStuffWithAutoscalingPolicyServiceClient(client: AutoscalingPolicyServiceClient) { - client.close(); -} -function doStuffWithBatchControllerClient(client: BatchControllerClient) { - client.close(); -} -function doStuffWithClusterControllerClient(client: ClusterControllerClient) { - client.close(); -} -function doStuffWithJobControllerClient(client: JobControllerClient) { - client.close(); -} -function doStuffWithNodeGroupControllerClient(client: NodeGroupControllerClient) { - client.close(); -} -function doStuffWithSessionControllerClient(client: SessionControllerClient) { - client.close(); -} -function doStuffWithSessionTemplateControllerClient(client: SessionTemplateControllerClient) { - client.close(); -} -function doStuffWithWorkflowTemplateServiceClient(client: WorkflowTemplateServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const autoscalingPolicyServiceClient = new AutoscalingPolicyServiceClient(); - doStuffWithAutoscalingPolicyServiceClient(autoscalingPolicyServiceClient); - // check that the client instance can be created - const batchControllerClient = new BatchControllerClient(); - doStuffWithBatchControllerClient(batchControllerClient); - // check that the client instance can be created - const clusterControllerClient = new ClusterControllerClient(); - doStuffWithClusterControllerClient(clusterControllerClient); - // check that the client instance can be created - const jobControllerClient = new JobControllerClient(); - doStuffWithJobControllerClient(jobControllerClient); - // check that the client instance can be created - const nodeGroupControllerClient = new NodeGroupControllerClient(); - doStuffWithNodeGroupControllerClient(nodeGroupControllerClient); - // check that the client instance can be created - const sessionControllerClient = new SessionControllerClient(); - doStuffWithSessionControllerClient(sessionControllerClient); - // check that the client instance can be created - const sessionTemplateControllerClient = new SessionTemplateControllerClient(); - doStuffWithSessionTemplateControllerClient(sessionTemplateControllerClient); - // check that the client instance can be created - const workflowTemplateServiceClient = new WorkflowTemplateServiceClient(); - doStuffWithWorkflowTemplateServiceClient(workflowTemplateServiceClient); -} - -main(); diff --git a/packages/google-cloud-dataproc/system-test/install.ts b/packages/google-cloud-dataproc/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-dataproc/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-dataqna/package.json b/packages/google-cloud-dataqna/package.json index a716065f4dd2..a6ad3d654f45 100644 --- a/packages/google-cloud-dataqna/package.json +++ b/packages/google-cloud-dataqna/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-dataqna/system-test/fixtures/sample/src/index.js b/packages/google-cloud-dataqna/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9b1b1784e00a..000000000000 --- a/packages/google-cloud-dataqna/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dataqna = require('@google-cloud/data-qna'); - -function main() { - const autoSuggestionServiceClient = new dataqna.AutoSuggestionServiceClient(); - const questionServiceClient = new dataqna.QuestionServiceClient(); -} - -main(); diff --git a/packages/google-cloud-dataqna/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-dataqna/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index badaf2827d70..000000000000 --- a/packages/google-cloud-dataqna/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AutoSuggestionServiceClient, QuestionServiceClient} from '@google-cloud/data-qna'; - -// check that the client class type name can be used -function doStuffWithAutoSuggestionServiceClient(client: AutoSuggestionServiceClient) { - client.close(); -} -function doStuffWithQuestionServiceClient(client: QuestionServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const autoSuggestionServiceClient = new AutoSuggestionServiceClient(); - doStuffWithAutoSuggestionServiceClient(autoSuggestionServiceClient); - // check that the client instance can be created - const questionServiceClient = new QuestionServiceClient(); - doStuffWithQuestionServiceClient(questionServiceClient); -} - -main(); diff --git a/packages/google-cloud-dataqna/system-test/install.ts b/packages/google-cloud-dataqna/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-dataqna/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-datastream/package.json b/packages/google-cloud-datastream/package.json index 301a4a0d46c4..8057cf5e84c3 100644 --- a/packages/google-cloud-datastream/package.json +++ b/packages/google-cloud-datastream/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-datastream/system-test/fixtures/sample/src/index.js b/packages/google-cloud-datastream/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b5fc06a364dc..000000000000 --- a/packages/google-cloud-datastream/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datastream = require('@google-cloud/datastream'); - -function main() { - const datastreamClient = new datastream.DatastreamClient(); -} - -main(); diff --git a/packages/google-cloud-datastream/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-datastream/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6170da09324e..000000000000 --- a/packages/google-cloud-datastream/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DatastreamClient} from '@google-cloud/datastream'; - -// check that the client class type name can be used -function doStuffWithDatastreamClient(client: DatastreamClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const datastreamClient = new DatastreamClient(); - doStuffWithDatastreamClient(datastreamClient); -} - -main(); diff --git a/packages/google-cloud-datastream/system-test/install.ts b/packages/google-cloud-datastream/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-datastream/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-deploy/package.json b/packages/google-cloud-deploy/package.json index 0561508ffc95..be545be430f8 100644 --- a/packages/google-cloud-deploy/package.json +++ b/packages/google-cloud-deploy/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-deploy/system-test/fixtures/sample/src/index.js b/packages/google-cloud-deploy/system-test/fixtures/sample/src/index.js deleted file mode 100644 index f77066a0d33a..000000000000 --- a/packages/google-cloud-deploy/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 deploy = require('@google-cloud/deploy'); - -function main() { - const cloudDeployClient = new deploy.CloudDeployClient(); -} - -main(); diff --git a/packages/google-cloud-deploy/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-deploy/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0fe67843042f..000000000000 --- a/packages/google-cloud-deploy/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudDeployClient} from '@google-cloud/deploy'; - -// check that the client class type name can be used -function doStuffWithCloudDeployClient(client: CloudDeployClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudDeployClient = new CloudDeployClient(); - doStuffWithCloudDeployClient(cloudDeployClient); -} - -main(); diff --git a/packages/google-cloud-deploy/system-test/install.ts b/packages/google-cloud-deploy/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-deploy/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-developerconnect/package.json b/packages/google-cloud-developerconnect/package.json index 582d4893831a..257ce5e9e133 100644 --- a/packages/google-cloud-developerconnect/package.json +++ b/packages/google-cloud-developerconnect/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-developerconnect/system-test/fixtures/sample/src/index.js b/packages/google-cloud-developerconnect/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 30b89aa29d97..000000000000 --- a/packages/google-cloud-developerconnect/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 developerconnect = require('@google-cloud/developerconnect'); - -function main() { - const developerConnectClient = new developerconnect.DeveloperConnectClient(); - const insightsConfigServiceClient = new developerconnect.InsightsConfigServiceClient(); -} - -main(); diff --git a/packages/google-cloud-developerconnect/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-developerconnect/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 89632ab80cd7..000000000000 --- a/packages/google-cloud-developerconnect/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DeveloperConnectClient, InsightsConfigServiceClient} from '@google-cloud/developerconnect'; - -// check that the client class type name can be used -function doStuffWithDeveloperConnectClient(client: DeveloperConnectClient) { - client.close(); -} -function doStuffWithInsightsConfigServiceClient(client: InsightsConfigServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const developerConnectClient = new DeveloperConnectClient(); - doStuffWithDeveloperConnectClient(developerConnectClient); - // check that the client instance can be created - const insightsConfigServiceClient = new InsightsConfigServiceClient(); - doStuffWithInsightsConfigServiceClient(insightsConfigServiceClient); -} - -main(); diff --git a/packages/google-cloud-developerconnect/system-test/install.ts b/packages/google-cloud-developerconnect/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-developerconnect/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-devicestreaming/package.json b/packages/google-cloud-devicestreaming/package.json index e11b65df50ff..afdfb16e9dea 100644 --- a/packages/google-cloud-devicestreaming/package.json +++ b/packages/google-cloud-devicestreaming/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-devicestreaming/system-test/fixtures/sample/src/index.js b/packages/google-cloud-devicestreaming/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 96b94e754a06..000000000000 --- a/packages/google-cloud-devicestreaming/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 devicestreaming = require('@google-cloud/devicestreaming'); - -function main() { - const directAccessServiceClient = new devicestreaming.DirectAccessServiceClient(); -} - -main(); diff --git a/packages/google-cloud-devicestreaming/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-devicestreaming/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 55bb98d8077d..000000000000 --- a/packages/google-cloud-devicestreaming/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DirectAccessServiceClient} from '@google-cloud/devicestreaming'; - -// check that the client class type name can be used -function doStuffWithDirectAccessServiceClient(client: DirectAccessServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const directAccessServiceClient = new DirectAccessServiceClient(); - doStuffWithDirectAccessServiceClient(directAccessServiceClient); -} - -main(); diff --git a/packages/google-cloud-devicestreaming/system-test/install.ts b/packages/google-cloud-devicestreaming/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-devicestreaming/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-dialogflow-cx/package.json b/packages/google-cloud-dialogflow-cx/package.json index 9b40d734e88c..f47f76449a10 100644 --- a/packages/google-cloud-dialogflow-cx/package.json +++ b/packages/google-cloud-dialogflow-cx/package.json @@ -51,7 +51,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 node build/test/run.js" }, "dependencies": { @@ -70,7 +70,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-dialogflow-cx/system-test/fixtures/sample/src/index.js b/packages/google-cloud-dialogflow-cx/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 0b4855890468..000000000000 --- a/packages/google-cloud-dialogflow-cx/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cx = require('@google-cloud/dialogflow-cx'); - -function main() { - const agentsClient = new cx.AgentsClient(); - const changelogsClient = new cx.ChangelogsClient(); - const deploymentsClient = new cx.DeploymentsClient(); - const entityTypesClient = new cx.EntityTypesClient(); - const environmentsClient = new cx.EnvironmentsClient(); - const examplesClient = new cx.ExamplesClient(); - const experimentsClient = new cx.ExperimentsClient(); - const flowsClient = new cx.FlowsClient(); - const generatorsClient = new cx.GeneratorsClient(); - const intentsClient = new cx.IntentsClient(); - const pagesClient = new cx.PagesClient(); - const playbooksClient = new cx.PlaybooksClient(); - const securitySettingsServiceClient = new cx.SecuritySettingsServiceClient(); - const sessionEntityTypesClient = new cx.SessionEntityTypesClient(); - const sessionsClient = new cx.SessionsClient(); - const testCasesClient = new cx.TestCasesClient(); - const toolsClient = new cx.ToolsClient(); - const transitionRouteGroupsClient = new cx.TransitionRouteGroupsClient(); - const versionsClient = new cx.VersionsClient(); - const webhooksClient = new cx.WebhooksClient(); -} - -main(); diff --git a/packages/google-cloud-dialogflow-cx/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-dialogflow-cx/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a21d11f96169..000000000000 --- a/packages/google-cloud-dialogflow-cx/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AgentsClient, ChangelogsClient, DeploymentsClient, EntityTypesClient, EnvironmentsClient, ExamplesClient, ExperimentsClient, FlowsClient, GeneratorsClient, IntentsClient, PagesClient, PlaybooksClient, SecuritySettingsServiceClient, SessionEntityTypesClient, SessionsClient, TestCasesClient, ToolsClient, TransitionRouteGroupsClient, VersionsClient, WebhooksClient} from '@google-cloud/dialogflow-cx'; - -// check that the client class type name can be used -function doStuffWithAgentsClient(client: AgentsClient) { - client.close(); -} -function doStuffWithChangelogsClient(client: ChangelogsClient) { - client.close(); -} -function doStuffWithDeploymentsClient(client: DeploymentsClient) { - client.close(); -} -function doStuffWithEntityTypesClient(client: EntityTypesClient) { - client.close(); -} -function doStuffWithEnvironmentsClient(client: EnvironmentsClient) { - client.close(); -} -function doStuffWithExamplesClient(client: ExamplesClient) { - client.close(); -} -function doStuffWithExperimentsClient(client: ExperimentsClient) { - client.close(); -} -function doStuffWithFlowsClient(client: FlowsClient) { - client.close(); -} -function doStuffWithGeneratorsClient(client: GeneratorsClient) { - client.close(); -} -function doStuffWithIntentsClient(client: IntentsClient) { - client.close(); -} -function doStuffWithPagesClient(client: PagesClient) { - client.close(); -} -function doStuffWithPlaybooksClient(client: PlaybooksClient) { - client.close(); -} -function doStuffWithSecuritySettingsServiceClient(client: SecuritySettingsServiceClient) { - client.close(); -} -function doStuffWithSessionEntityTypesClient(client: SessionEntityTypesClient) { - client.close(); -} -function doStuffWithSessionsClient(client: SessionsClient) { - client.close(); -} -function doStuffWithTestCasesClient(client: TestCasesClient) { - client.close(); -} -function doStuffWithToolsClient(client: ToolsClient) { - client.close(); -} -function doStuffWithTransitionRouteGroupsClient(client: TransitionRouteGroupsClient) { - client.close(); -} -function doStuffWithVersionsClient(client: VersionsClient) { - client.close(); -} -function doStuffWithWebhooksClient(client: WebhooksClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const agentsClient = new AgentsClient(); - doStuffWithAgentsClient(agentsClient); - // check that the client instance can be created - const changelogsClient = new ChangelogsClient(); - doStuffWithChangelogsClient(changelogsClient); - // check that the client instance can be created - const deploymentsClient = new DeploymentsClient(); - doStuffWithDeploymentsClient(deploymentsClient); - // check that the client instance can be created - const entityTypesClient = new EntityTypesClient(); - doStuffWithEntityTypesClient(entityTypesClient); - // check that the client instance can be created - const environmentsClient = new EnvironmentsClient(); - doStuffWithEnvironmentsClient(environmentsClient); - // check that the client instance can be created - const examplesClient = new ExamplesClient(); - doStuffWithExamplesClient(examplesClient); - // check that the client instance can be created - const experimentsClient = new ExperimentsClient(); - doStuffWithExperimentsClient(experimentsClient); - // check that the client instance can be created - const flowsClient = new FlowsClient(); - doStuffWithFlowsClient(flowsClient); - // check that the client instance can be created - const generatorsClient = new GeneratorsClient(); - doStuffWithGeneratorsClient(generatorsClient); - // check that the client instance can be created - const intentsClient = new IntentsClient(); - doStuffWithIntentsClient(intentsClient); - // check that the client instance can be created - const pagesClient = new PagesClient(); - doStuffWithPagesClient(pagesClient); - // check that the client instance can be created - const playbooksClient = new PlaybooksClient(); - doStuffWithPlaybooksClient(playbooksClient); - // check that the client instance can be created - const securitySettingsServiceClient = new SecuritySettingsServiceClient(); - doStuffWithSecuritySettingsServiceClient(securitySettingsServiceClient); - // check that the client instance can be created - const sessionEntityTypesClient = new SessionEntityTypesClient(); - doStuffWithSessionEntityTypesClient(sessionEntityTypesClient); - // check that the client instance can be created - const sessionsClient = new SessionsClient(); - doStuffWithSessionsClient(sessionsClient); - // check that the client instance can be created - const testCasesClient = new TestCasesClient(); - doStuffWithTestCasesClient(testCasesClient); - // check that the client instance can be created - const toolsClient = new ToolsClient(); - doStuffWithToolsClient(toolsClient); - // check that the client instance can be created - const transitionRouteGroupsClient = new TransitionRouteGroupsClient(); - doStuffWithTransitionRouteGroupsClient(transitionRouteGroupsClient); - // check that the client instance can be created - const versionsClient = new VersionsClient(); - doStuffWithVersionsClient(versionsClient); - // check that the client instance can be created - const webhooksClient = new WebhooksClient(); - doStuffWithWebhooksClient(webhooksClient); -} - -main(); diff --git a/packages/google-cloud-dialogflow-cx/system-test/install.ts b/packages/google-cloud-dialogflow-cx/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-dialogflow-cx/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-dialogflow/package.json b/packages/google-cloud-dialogflow/package.json index ec1d0ab8d186..c6c295696aca 100644 --- a/packages/google-cloud-dialogflow/package.json +++ b/packages/google-cloud-dialogflow/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test/*_v2.js && c8 mocha build/test/*_v2beta1.js" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-dialogflow/system-test/fixtures/sample/src/index.js b/packages/google-cloud-dialogflow/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 2f197de1a4d1..000000000000 --- a/packages/google-cloud-dialogflow/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dialogflow = require('@google-cloud/dialogflow'); - -function main() { - const agentsClient = new dialogflow.AgentsClient(); - const answerRecordsClient = new dialogflow.AnswerRecordsClient(); - const contextsClient = new dialogflow.ContextsClient(); - const conversationDatasetsClient = new dialogflow.ConversationDatasetsClient(); - const conversationModelsClient = new dialogflow.ConversationModelsClient(); - const conversationProfilesClient = new dialogflow.ConversationProfilesClient(); - const conversationsClient = new dialogflow.ConversationsClient(); - const documentsClient = new dialogflow.DocumentsClient(); - const encryptionSpecServiceClient = new dialogflow.EncryptionSpecServiceClient(); - const entityTypesClient = new dialogflow.EntityTypesClient(); - const environmentsClient = new dialogflow.EnvironmentsClient(); - const fulfillmentsClient = new dialogflow.FulfillmentsClient(); - const generatorEvaluationsClient = new dialogflow.GeneratorEvaluationsClient(); - const generatorsClient = new dialogflow.GeneratorsClient(); - const intentsClient = new dialogflow.IntentsClient(); - const knowledgeBasesClient = new dialogflow.KnowledgeBasesClient(); - const participantsClient = new dialogflow.ParticipantsClient(); - const sessionEntityTypesClient = new dialogflow.SessionEntityTypesClient(); - const sessionsClient = new dialogflow.SessionsClient(); - const sipTrunksClient = new dialogflow.SipTrunksClient(); - const toolsClient = new dialogflow.ToolsClient(); - const versionsClient = new dialogflow.VersionsClient(); -} - -main(); diff --git a/packages/google-cloud-dialogflow/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-dialogflow/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index c039c89f5b93..000000000000 --- a/packages/google-cloud-dialogflow/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AgentsClient, AnswerRecordsClient, ContextsClient, ConversationDatasetsClient, ConversationModelsClient, ConversationProfilesClient, ConversationsClient, DocumentsClient, EncryptionSpecServiceClient, EntityTypesClient, EnvironmentsClient, FulfillmentsClient, GeneratorEvaluationsClient, GeneratorsClient, IntentsClient, KnowledgeBasesClient, ParticipantsClient, SessionEntityTypesClient, SessionsClient, SipTrunksClient, ToolsClient, VersionsClient} from '@google-cloud/dialogflow'; - -// check that the client class type name can be used -function doStuffWithAgentsClient(client: AgentsClient) { - client.close(); -} -function doStuffWithAnswerRecordsClient(client: AnswerRecordsClient) { - client.close(); -} -function doStuffWithContextsClient(client: ContextsClient) { - client.close(); -} -function doStuffWithConversationDatasetsClient(client: ConversationDatasetsClient) { - client.close(); -} -function doStuffWithConversationModelsClient(client: ConversationModelsClient) { - client.close(); -} -function doStuffWithConversationProfilesClient(client: ConversationProfilesClient) { - client.close(); -} -function doStuffWithConversationsClient(client: ConversationsClient) { - client.close(); -} -function doStuffWithDocumentsClient(client: DocumentsClient) { - client.close(); -} -function doStuffWithEncryptionSpecServiceClient(client: EncryptionSpecServiceClient) { - client.close(); -} -function doStuffWithEntityTypesClient(client: EntityTypesClient) { - client.close(); -} -function doStuffWithEnvironmentsClient(client: EnvironmentsClient) { - client.close(); -} -function doStuffWithFulfillmentsClient(client: FulfillmentsClient) { - client.close(); -} -function doStuffWithGeneratorEvaluationsClient(client: GeneratorEvaluationsClient) { - client.close(); -} -function doStuffWithGeneratorsClient(client: GeneratorsClient) { - client.close(); -} -function doStuffWithIntentsClient(client: IntentsClient) { - client.close(); -} -function doStuffWithKnowledgeBasesClient(client: KnowledgeBasesClient) { - client.close(); -} -function doStuffWithParticipantsClient(client: ParticipantsClient) { - client.close(); -} -function doStuffWithSessionEntityTypesClient(client: SessionEntityTypesClient) { - client.close(); -} -function doStuffWithSessionsClient(client: SessionsClient) { - client.close(); -} -function doStuffWithSipTrunksClient(client: SipTrunksClient) { - client.close(); -} -function doStuffWithToolsClient(client: ToolsClient) { - client.close(); -} -function doStuffWithVersionsClient(client: VersionsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const agentsClient = new AgentsClient(); - doStuffWithAgentsClient(agentsClient); - // check that the client instance can be created - const answerRecordsClient = new AnswerRecordsClient(); - doStuffWithAnswerRecordsClient(answerRecordsClient); - // check that the client instance can be created - const contextsClient = new ContextsClient(); - doStuffWithContextsClient(contextsClient); - // check that the client instance can be created - const conversationDatasetsClient = new ConversationDatasetsClient(); - doStuffWithConversationDatasetsClient(conversationDatasetsClient); - // check that the client instance can be created - const conversationModelsClient = new ConversationModelsClient(); - doStuffWithConversationModelsClient(conversationModelsClient); - // check that the client instance can be created - const conversationProfilesClient = new ConversationProfilesClient(); - doStuffWithConversationProfilesClient(conversationProfilesClient); - // check that the client instance can be created - const conversationsClient = new ConversationsClient(); - doStuffWithConversationsClient(conversationsClient); - // check that the client instance can be created - const documentsClient = new DocumentsClient(); - doStuffWithDocumentsClient(documentsClient); - // check that the client instance can be created - const encryptionSpecServiceClient = new EncryptionSpecServiceClient(); - doStuffWithEncryptionSpecServiceClient(encryptionSpecServiceClient); - // check that the client instance can be created - const entityTypesClient = new EntityTypesClient(); - doStuffWithEntityTypesClient(entityTypesClient); - // check that the client instance can be created - const environmentsClient = new EnvironmentsClient(); - doStuffWithEnvironmentsClient(environmentsClient); - // check that the client instance can be created - const fulfillmentsClient = new FulfillmentsClient(); - doStuffWithFulfillmentsClient(fulfillmentsClient); - // check that the client instance can be created - const generatorEvaluationsClient = new GeneratorEvaluationsClient(); - doStuffWithGeneratorEvaluationsClient(generatorEvaluationsClient); - // check that the client instance can be created - const generatorsClient = new GeneratorsClient(); - doStuffWithGeneratorsClient(generatorsClient); - // check that the client instance can be created - const intentsClient = new IntentsClient(); - doStuffWithIntentsClient(intentsClient); - // check that the client instance can be created - const knowledgeBasesClient = new KnowledgeBasesClient(); - doStuffWithKnowledgeBasesClient(knowledgeBasesClient); - // check that the client instance can be created - const participantsClient = new ParticipantsClient(); - doStuffWithParticipantsClient(participantsClient); - // check that the client instance can be created - const sessionEntityTypesClient = new SessionEntityTypesClient(); - doStuffWithSessionEntityTypesClient(sessionEntityTypesClient); - // check that the client instance can be created - const sessionsClient = new SessionsClient(); - doStuffWithSessionsClient(sessionsClient); - // check that the client instance can be created - const sipTrunksClient = new SipTrunksClient(); - doStuffWithSipTrunksClient(sipTrunksClient); - // check that the client instance can be created - const toolsClient = new ToolsClient(); - doStuffWithToolsClient(toolsClient); - // check that the client instance can be created - const versionsClient = new VersionsClient(); - doStuffWithVersionsClient(versionsClient); -} - -main(); diff --git a/packages/google-cloud-dialogflow/system-test/install.ts b/packages/google-cloud-dialogflow/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-dialogflow/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-discoveryengine/package.json b/packages/google-cloud-discoveryengine/package.json index cbf9d50ad917..200013f83fbe 100644 --- a/packages/google-cloud-discoveryengine/package.json +++ b/packages/google-cloud-discoveryengine/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "NODE_OPTIONS=--max-old-space-size=16384 c8 mocha build/test || set NODE_OPTIONS=--max-old-space-size=16384 && c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-discoveryengine/system-test/fixtures/sample/src/index.js b/packages/google-cloud-discoveryengine/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6f4da6d22351..000000000000 --- a/packages/google-cloud-discoveryengine/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 discoveryengine = require('@google-cloud/discoveryengine'); - -function main() { - const assistantServiceClient = new discoveryengine.AssistantServiceClient(); - const cmekConfigServiceClient = new discoveryengine.CmekConfigServiceClient(); - const completionServiceClient = new discoveryengine.CompletionServiceClient(); - const controlServiceClient = new discoveryengine.ControlServiceClient(); - const conversationalSearchServiceClient = new discoveryengine.ConversationalSearchServiceClient(); - const dataStoreServiceClient = new discoveryengine.DataStoreServiceClient(); - const documentServiceClient = new discoveryengine.DocumentServiceClient(); - const engineServiceClient = new discoveryengine.EngineServiceClient(); - const groundedGenerationServiceClient = new discoveryengine.GroundedGenerationServiceClient(); - const identityMappingStoreServiceClient = new discoveryengine.IdentityMappingStoreServiceClient(); - const projectServiceClient = new discoveryengine.ProjectServiceClient(); - const rankServiceClient = new discoveryengine.RankServiceClient(); - const recommendationServiceClient = new discoveryengine.RecommendationServiceClient(); - const schemaServiceClient = new discoveryengine.SchemaServiceClient(); - const searchServiceClient = new discoveryengine.SearchServiceClient(); - const searchTuningServiceClient = new discoveryengine.SearchTuningServiceClient(); - const servingConfigServiceClient = new discoveryengine.ServingConfigServiceClient(); - const sessionServiceClient = new discoveryengine.SessionServiceClient(); - const siteSearchEngineServiceClient = new discoveryengine.SiteSearchEngineServiceClient(); - const userEventServiceClient = new discoveryengine.UserEventServiceClient(); - const userLicenseServiceClient = new discoveryengine.UserLicenseServiceClient(); -} - -main(); diff --git a/packages/google-cloud-discoveryengine/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-discoveryengine/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ae17e8869d1c..000000000000 --- a/packages/google-cloud-discoveryengine/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AssistantServiceClient, CmekConfigServiceClient, CompletionServiceClient, ControlServiceClient, ConversationalSearchServiceClient, DataStoreServiceClient, DocumentServiceClient, EngineServiceClient, GroundedGenerationServiceClient, IdentityMappingStoreServiceClient, ProjectServiceClient, RankServiceClient, RecommendationServiceClient, SchemaServiceClient, SearchServiceClient, SearchTuningServiceClient, ServingConfigServiceClient, SessionServiceClient, SiteSearchEngineServiceClient, UserEventServiceClient, UserLicenseServiceClient} from '@google-cloud/discoveryengine'; - -// check that the client class type name can be used -function doStuffWithAssistantServiceClient(client: AssistantServiceClient) { - client.close(); -} -function doStuffWithCmekConfigServiceClient(client: CmekConfigServiceClient) { - client.close(); -} -function doStuffWithCompletionServiceClient(client: CompletionServiceClient) { - client.close(); -} -function doStuffWithControlServiceClient(client: ControlServiceClient) { - client.close(); -} -function doStuffWithConversationalSearchServiceClient(client: ConversationalSearchServiceClient) { - client.close(); -} -function doStuffWithDataStoreServiceClient(client: DataStoreServiceClient) { - client.close(); -} -function doStuffWithDocumentServiceClient(client: DocumentServiceClient) { - client.close(); -} -function doStuffWithEngineServiceClient(client: EngineServiceClient) { - client.close(); -} -function doStuffWithGroundedGenerationServiceClient(client: GroundedGenerationServiceClient) { - client.close(); -} -function doStuffWithIdentityMappingStoreServiceClient(client: IdentityMappingStoreServiceClient) { - client.close(); -} -function doStuffWithProjectServiceClient(client: ProjectServiceClient) { - client.close(); -} -function doStuffWithRankServiceClient(client: RankServiceClient) { - client.close(); -} -function doStuffWithRecommendationServiceClient(client: RecommendationServiceClient) { - client.close(); -} -function doStuffWithSchemaServiceClient(client: SchemaServiceClient) { - client.close(); -} -function doStuffWithSearchServiceClient(client: SearchServiceClient) { - client.close(); -} -function doStuffWithSearchTuningServiceClient(client: SearchTuningServiceClient) { - client.close(); -} -function doStuffWithServingConfigServiceClient(client: ServingConfigServiceClient) { - client.close(); -} -function doStuffWithSessionServiceClient(client: SessionServiceClient) { - client.close(); -} -function doStuffWithSiteSearchEngineServiceClient(client: SiteSearchEngineServiceClient) { - client.close(); -} -function doStuffWithUserEventServiceClient(client: UserEventServiceClient) { - client.close(); -} -function doStuffWithUserLicenseServiceClient(client: UserLicenseServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const assistantServiceClient = new AssistantServiceClient(); - doStuffWithAssistantServiceClient(assistantServiceClient); - // check that the client instance can be created - const cmekConfigServiceClient = new CmekConfigServiceClient(); - doStuffWithCmekConfigServiceClient(cmekConfigServiceClient); - // check that the client instance can be created - const completionServiceClient = new CompletionServiceClient(); - doStuffWithCompletionServiceClient(completionServiceClient); - // check that the client instance can be created - const controlServiceClient = new ControlServiceClient(); - doStuffWithControlServiceClient(controlServiceClient); - // check that the client instance can be created - const conversationalSearchServiceClient = new ConversationalSearchServiceClient(); - doStuffWithConversationalSearchServiceClient(conversationalSearchServiceClient); - // check that the client instance can be created - const dataStoreServiceClient = new DataStoreServiceClient(); - doStuffWithDataStoreServiceClient(dataStoreServiceClient); - // check that the client instance can be created - const documentServiceClient = new DocumentServiceClient(); - doStuffWithDocumentServiceClient(documentServiceClient); - // check that the client instance can be created - const engineServiceClient = new EngineServiceClient(); - doStuffWithEngineServiceClient(engineServiceClient); - // check that the client instance can be created - const groundedGenerationServiceClient = new GroundedGenerationServiceClient(); - doStuffWithGroundedGenerationServiceClient(groundedGenerationServiceClient); - // check that the client instance can be created - const identityMappingStoreServiceClient = new IdentityMappingStoreServiceClient(); - doStuffWithIdentityMappingStoreServiceClient(identityMappingStoreServiceClient); - // check that the client instance can be created - const projectServiceClient = new ProjectServiceClient(); - doStuffWithProjectServiceClient(projectServiceClient); - // check that the client instance can be created - const rankServiceClient = new RankServiceClient(); - doStuffWithRankServiceClient(rankServiceClient); - // check that the client instance can be created - const recommendationServiceClient = new RecommendationServiceClient(); - doStuffWithRecommendationServiceClient(recommendationServiceClient); - // check that the client instance can be created - const schemaServiceClient = new SchemaServiceClient(); - doStuffWithSchemaServiceClient(schemaServiceClient); - // check that the client instance can be created - const searchServiceClient = new SearchServiceClient(); - doStuffWithSearchServiceClient(searchServiceClient); - // check that the client instance can be created - const searchTuningServiceClient = new SearchTuningServiceClient(); - doStuffWithSearchTuningServiceClient(searchTuningServiceClient); - // check that the client instance can be created - const servingConfigServiceClient = new ServingConfigServiceClient(); - doStuffWithServingConfigServiceClient(servingConfigServiceClient); - // check that the client instance can be created - const sessionServiceClient = new SessionServiceClient(); - doStuffWithSessionServiceClient(sessionServiceClient); - // check that the client instance can be created - const siteSearchEngineServiceClient = new SiteSearchEngineServiceClient(); - doStuffWithSiteSearchEngineServiceClient(siteSearchEngineServiceClient); - // check that the client instance can be created - const userEventServiceClient = new UserEventServiceClient(); - doStuffWithUserEventServiceClient(userEventServiceClient); - // check that the client instance can be created - const userLicenseServiceClient = new UserLicenseServiceClient(); - doStuffWithUserLicenseServiceClient(userLicenseServiceClient); -} - -main(); diff --git a/packages/google-cloud-discoveryengine/system-test/install.ts b/packages/google-cloud-discoveryengine/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-discoveryengine/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-documentai/package.json b/packages/google-cloud-documentai/package.json index 6bc34b8ca2fc..dd81d1a507d7 100644 --- a/packages/google-cloud-documentai/package.json +++ b/packages/google-cloud-documentai/package.json @@ -27,7 +27,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -47,7 +47,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-documentai/system-test/fixtures/sample/src/index.js b/packages/google-cloud-documentai/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a3b5aa4a8749..000000000000 --- a/packages/google-cloud-documentai/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 documentai = require('@google-cloud/documentai'); - -function main() { - const documentProcessorServiceClient = new documentai.DocumentProcessorServiceClient(); -} - -main(); diff --git a/packages/google-cloud-documentai/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-documentai/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 5e87e3e26b41..000000000000 --- a/packages/google-cloud-documentai/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DocumentProcessorServiceClient} from '@google-cloud/documentai'; - -// check that the client class type name can be used -function doStuffWithDocumentProcessorServiceClient(client: DocumentProcessorServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const documentProcessorServiceClient = new DocumentProcessorServiceClient(); - doStuffWithDocumentProcessorServiceClient(documentProcessorServiceClient); -} - -main(); diff --git a/packages/google-cloud-documentai/system-test/install.ts b/packages/google-cloud-documentai/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-documentai/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-domains/package.json b/packages/google-cloud-domains/package.json index 2b8c7f281ed5..c95273cdb148 100644 --- a/packages/google-cloud-domains/package.json +++ b/packages/google-cloud-domains/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-domains/system-test/fixtures/sample/src/index.js b/packages/google-cloud-domains/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7065e287fd00..000000000000 --- a/packages/google-cloud-domains/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 domains = require('@google-cloud/domains'); - -function main() { - const domainsClient = new domains.DomainsClient(); -} - -main(); diff --git a/packages/google-cloud-domains/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-domains/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a63347dbd660..000000000000 --- a/packages/google-cloud-domains/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DomainsClient} from '@google-cloud/domains'; - -// check that the client class type name can be used -function doStuffWithDomainsClient(client: DomainsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const domainsClient = new DomainsClient(); - doStuffWithDomainsClient(domainsClient); -} - -main(); diff --git a/packages/google-cloud-domains/system-test/install.ts b/packages/google-cloud-domains/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-cloud-domains/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-edgecontainer/package.json b/packages/google-cloud-edgecontainer/package.json index ae4cbc4817e6..03427aefafcb 100644 --- a/packages/google-cloud-edgecontainer/package.json +++ b/packages/google-cloud-edgecontainer/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-edgecontainer/system-test/fixtures/sample/src/index.js b/packages/google-cloud-edgecontainer/system-test/fixtures/sample/src/index.js deleted file mode 100644 index db68f7ea2307..000000000000 --- a/packages/google-cloud-edgecontainer/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 edgecontainer = require('@google-cloud/edgecontainer'); - -function main() { - const edgeContainerClient = new edgecontainer.EdgeContainerClient(); -} - -main(); diff --git a/packages/google-cloud-edgecontainer/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-edgecontainer/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b136ca28641c..000000000000 --- a/packages/google-cloud-edgecontainer/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {EdgeContainerClient} from '@google-cloud/edgecontainer'; - -// check that the client class type name can be used -function doStuffWithEdgeContainerClient(client: EdgeContainerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const edgeContainerClient = new EdgeContainerClient(); - doStuffWithEdgeContainerClient(edgeContainerClient); -} - -main(); diff --git a/packages/google-cloud-edgecontainer/system-test/install.ts b/packages/google-cloud-edgecontainer/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-edgecontainer/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-edgenetwork/package.json b/packages/google-cloud-edgenetwork/package.json index 9f762ca14e8c..676fe35b8a7d 100644 --- a/packages/google-cloud-edgenetwork/package.json +++ b/packages/google-cloud-edgenetwork/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-edgenetwork/system-test/fixtures/sample/src/index.js b/packages/google-cloud-edgenetwork/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 304cf135b279..000000000000 --- a/packages/google-cloud-edgenetwork/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 edgenetwork = require('@google-cloud/edgenetwork'); - -function main() { - const edgeNetworkClient = new edgenetwork.EdgeNetworkClient(); -} - -main(); diff --git a/packages/google-cloud-edgenetwork/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-edgenetwork/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 5f221f5afddf..000000000000 --- a/packages/google-cloud-edgenetwork/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {EdgeNetworkClient} from '@google-cloud/edgenetwork'; - -// check that the client class type name can be used -function doStuffWithEdgeNetworkClient(client: EdgeNetworkClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const edgeNetworkClient = new EdgeNetworkClient(); - doStuffWithEdgeNetworkClient(edgeNetworkClient); -} - -main(); diff --git a/packages/google-cloud-edgenetwork/system-test/install.ts b/packages/google-cloud-edgenetwork/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-edgenetwork/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-essentialcontacts/package.json b/packages/google-cloud-essentialcontacts/package.json index 80729108af26..71a6ee13a051 100644 --- a/packages/google-cloud-essentialcontacts/package.json +++ b/packages/google-cloud-essentialcontacts/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.js b/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6f7d7e03ce32..000000000000 --- a/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 essentialcontacts = require('@google-cloud/essential-contacts'); - -function main() { - const essentialContactsServiceClient = new essentialcontacts.EssentialContactsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index c2ce04bd0655..000000000000 --- a/packages/google-cloud-essentialcontacts/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {EssentialContactsServiceClient} from '@google-cloud/essential-contacts'; - -// check that the client class type name can be used -function doStuffWithEssentialContactsServiceClient(client: EssentialContactsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const essentialContactsServiceClient = new EssentialContactsServiceClient(); - doStuffWithEssentialContactsServiceClient(essentialContactsServiceClient); -} - -main(); diff --git a/packages/google-cloud-essentialcontacts/system-test/install.ts b/packages/google-cloud-essentialcontacts/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-essentialcontacts/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-eventarc-publishing/package.json b/packages/google-cloud-eventarc-publishing/package.json index b48825433c14..8a0ebcd6806c 100644 --- a/packages/google-cloud-eventarc-publishing/package.json +++ b/packages/google-cloud-eventarc-publishing/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-eventarc-publishing/system-test/fixtures/sample/src/index.js b/packages/google-cloud-eventarc-publishing/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8459f547dd34..000000000000 --- a/packages/google-cloud-eventarc-publishing/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 publishing = require('@google-cloud/eventarc-publishing'); - -function main() { - const publisherClient = new publishing.PublisherClient(); -} - -main(); diff --git a/packages/google-cloud-eventarc-publishing/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-eventarc-publishing/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1de3d32aa59e..000000000000 --- a/packages/google-cloud-eventarc-publishing/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PublisherClient} from '@google-cloud/eventarc-publishing'; - -// check that the client class type name can be used -function doStuffWithPublisherClient(client: PublisherClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const publisherClient = new PublisherClient(); - doStuffWithPublisherClient(publisherClient); -} - -main(); diff --git a/packages/google-cloud-eventarc-publishing/system-test/install.ts b/packages/google-cloud-eventarc-publishing/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-eventarc-publishing/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-eventarc/package.json b/packages/google-cloud-eventarc/package.json index ad6224a5a805..be3d134bdd5d 100644 --- a/packages/google-cloud-eventarc/package.json +++ b/packages/google-cloud-eventarc/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-eventarc/system-test/fixtures/sample/src/index.js b/packages/google-cloud-eventarc/system-test/fixtures/sample/src/index.js deleted file mode 100644 index c44649ee818a..000000000000 --- a/packages/google-cloud-eventarc/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 eventarc = require('@google-cloud/eventarc'); - -function main() { - const eventarcClient = new eventarc.EventarcClient(); -} - -main(); diff --git a/packages/google-cloud-eventarc/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-eventarc/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6cc7bf4417cc..000000000000 --- a/packages/google-cloud-eventarc/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {EventarcClient} from '@google-cloud/eventarc'; - -// check that the client class type name can be used -function doStuffWithEventarcClient(client: EventarcClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const eventarcClient = new EventarcClient(); - doStuffWithEventarcClient(eventarcClient); -} - -main(); diff --git a/packages/google-cloud-eventarc/system-test/install.ts b/packages/google-cloud-eventarc/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-eventarc/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-filestore/package.json b/packages/google-cloud-filestore/package.json index b9fe19d72289..44da916b8f7d 100644 --- a/packages/google-cloud-filestore/package.json +++ b/packages/google-cloud-filestore/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-filestore/system-test/fixtures/sample/src/index.js b/packages/google-cloud-filestore/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5eb5943772c1..000000000000 --- a/packages/google-cloud-filestore/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 filestore = require('@google-cloud/filestore'); - -function main() { - const cloudFilestoreManagerClient = new filestore.CloudFilestoreManagerClient(); -} - -main(); diff --git a/packages/google-cloud-filestore/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-filestore/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index c5340c677f87..000000000000 --- a/packages/google-cloud-filestore/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudFilestoreManagerClient} from '@google-cloud/filestore'; - -// check that the client class type name can be used -function doStuffWithCloudFilestoreManagerClient(client: CloudFilestoreManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudFilestoreManagerClient = new CloudFilestoreManagerClient(); - doStuffWithCloudFilestoreManagerClient(cloudFilestoreManagerClient); -} - -main(); diff --git a/packages/google-cloud-filestore/system-test/install.ts b/packages/google-cloud-filestore/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-filestore/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-financialservices/package.json b/packages/google-cloud-financialservices/package.json index a78613ca9d91..ba147a4f488a 100644 --- a/packages/google-cloud-financialservices/package.json +++ b/packages/google-cloud-financialservices/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-financialservices/system-test/fixtures/sample/src/index.js b/packages/google-cloud-financialservices/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b3ac443b26e4..000000000000 --- a/packages/google-cloud-financialservices/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 financialservices = require('@google-cloud/financialservices'); - -function main() { - const aMLClient = new financialservices.AMLClient(); -} - -main(); diff --git a/packages/google-cloud-financialservices/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-financialservices/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 824bda171adc..000000000000 --- a/packages/google-cloud-financialservices/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AMLClient} from '@google-cloud/financialservices'; - -// check that the client class type name can be used -function doStuffWithAMLClient(client: AMLClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const aMLClient = new AMLClient(); - doStuffWithAMLClient(aMLClient); -} - -main(); diff --git a/packages/google-cloud-financialservices/system-test/install.ts b/packages/google-cloud-financialservices/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-financialservices/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-functions/package.json b/packages/google-cloud-functions/package.json index 9535258ffe0e..6c398d3f0311 100644 --- a/packages/google-cloud-functions/package.json +++ b/packages/google-cloud-functions/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-functions/system-test/fixtures/sample/src/index.js b/packages/google-cloud-functions/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 588971ed2a07..000000000000 --- a/packages/google-cloud-functions/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 functions = require('@google-cloud/functions'); - -function main() { - const cloudFunctionsServiceClient = new functions.CloudFunctionsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-functions/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-functions/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6bb5eab7d758..000000000000 --- a/packages/google-cloud-functions/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudFunctionsServiceClient} from '@google-cloud/functions'; - -// check that the client class type name can be used -function doStuffWithCloudFunctionsServiceClient(client: CloudFunctionsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudFunctionsServiceClient = new CloudFunctionsServiceClient(); - doStuffWithCloudFunctionsServiceClient(cloudFunctionsServiceClient); -} - -main(); diff --git a/packages/google-cloud-functions/system-test/install.ts b/packages/google-cloud-functions/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-functions/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gdchardwaremanagement/package.json b/packages/google-cloud-gdchardwaremanagement/package.json index 3e1230739292..acca1ef1c15c 100644 --- a/packages/google-cloud-gdchardwaremanagement/package.json +++ b/packages/google-cloud-gdchardwaremanagement/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gdchardwaremanagement/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gdchardwaremanagement/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3106d7bb5a81..000000000000 --- a/packages/google-cloud-gdchardwaremanagement/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gdchardwaremanagement = require('@google-cloud/gdchardwaremanagement'); - -function main() { - const gDCHardwareManagementClient = new gdchardwaremanagement.GDCHardwareManagementClient(); -} - -main(); diff --git a/packages/google-cloud-gdchardwaremanagement/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gdchardwaremanagement/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index c0e1a7d2fcf6..000000000000 --- a/packages/google-cloud-gdchardwaremanagement/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {GDCHardwareManagementClient} from '@google-cloud/gdchardwaremanagement'; - -// check that the client class type name can be used -function doStuffWithGDCHardwareManagementClient(client: GDCHardwareManagementClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const gDCHardwareManagementClient = new GDCHardwareManagementClient(); - doStuffWithGDCHardwareManagementClient(gDCHardwareManagementClient); -} - -main(); diff --git a/packages/google-cloud-gdchardwaremanagement/system-test/install.ts b/packages/google-cloud-gdchardwaremanagement/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gdchardwaremanagement/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-geminidataanalytics/package.json b/packages/google-cloud-geminidataanalytics/package.json index f03e4268af2f..d55d9bdfa181 100644 --- a/packages/google-cloud-geminidataanalytics/package.json +++ b/packages/google-cloud-geminidataanalytics/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-geminidataanalytics/system-test/fixtures/sample/src/index.js b/packages/google-cloud-geminidataanalytics/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9edd9ee9737b..000000000000 --- a/packages/google-cloud-geminidataanalytics/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 geminidataanalytics = require('@google-cloud/geminidataanalytics'); - -function main() { - const dataAgentServiceClient = new geminidataanalytics.DataAgentServiceClient(); - const dataChatServiceClient = new geminidataanalytics.DataChatServiceClient(); -} - -main(); diff --git a/packages/google-cloud-geminidataanalytics/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-geminidataanalytics/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1fb06bc56366..000000000000 --- a/packages/google-cloud-geminidataanalytics/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataAgentServiceClient, DataChatServiceClient} from '@google-cloud/geminidataanalytics'; - -// check that the client class type name can be used -function doStuffWithDataAgentServiceClient(client: DataAgentServiceClient) { - client.close(); -} -function doStuffWithDataChatServiceClient(client: DataChatServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataAgentServiceClient = new DataAgentServiceClient(); - doStuffWithDataAgentServiceClient(dataAgentServiceClient); - // check that the client instance can be created - const dataChatServiceClient = new DataChatServiceClient(); - doStuffWithDataChatServiceClient(dataChatServiceClient); -} - -main(); diff --git a/packages/google-cloud-geminidataanalytics/system-test/install.ts b/packages/google-cloud-geminidataanalytics/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-geminidataanalytics/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gkebackup/package.json b/packages/google-cloud-gkebackup/package.json index 816edce7558c..33330c424cb4 100644 --- a/packages/google-cloud-gkebackup/package.json +++ b/packages/google-cloud-gkebackup/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gkebackup/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gkebackup/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3921b91dacba..000000000000 --- a/packages/google-cloud-gkebackup/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gkebackup = require('@google-cloud/gke-backup'); - -function main() { - const backupForGKEClient = new gkebackup.BackupForGKEClient(); -} - -main(); diff --git a/packages/google-cloud-gkebackup/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gkebackup/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 131f7e8514c8..000000000000 --- a/packages/google-cloud-gkebackup/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BackupForGKEClient} from '@google-cloud/gke-backup'; - -// check that the client class type name can be used -function doStuffWithBackupForGKEClient(client: BackupForGKEClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const backupForGKEClient = new BackupForGKEClient(); - doStuffWithBackupForGKEClient(backupForGKEClient); -} - -main(); diff --git a/packages/google-cloud-gkebackup/system-test/install.ts b/packages/google-cloud-gkebackup/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gkebackup/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gkeconnect-gateway/package.json b/packages/google-cloud-gkeconnect-gateway/package.json index f2ae1c3337e4..4a3653c111b6 100644 --- a/packages/google-cloud-gkeconnect-gateway/package.json +++ b/packages/google-cloud-gkeconnect-gateway/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gkeconnect-gateway/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gkeconnect-gateway/system-test/fixtures/sample/src/index.js deleted file mode 100644 index eca399edc7cb..000000000000 --- a/packages/google-cloud-gkeconnect-gateway/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gateway = require('@google-cloud/gke-connect-gateway'); - -function main() { - const gatewayControlClient = new gateway.GatewayControlClient(); -} - -main(); diff --git a/packages/google-cloud-gkeconnect-gateway/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gkeconnect-gateway/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a0efb92c0364..000000000000 --- a/packages/google-cloud-gkeconnect-gateway/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {GatewayControlClient} from '@google-cloud/gke-connect-gateway'; - -// check that the client class type name can be used -function doStuffWithGatewayControlClient(client: GatewayControlClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const gatewayControlClient = new GatewayControlClient(); - doStuffWithGatewayControlClient(gatewayControlClient); -} - -main(); diff --git a/packages/google-cloud-gkeconnect-gateway/system-test/install.ts b/packages/google-cloud-gkeconnect-gateway/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gkeconnect-gateway/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gkehub/package.json b/packages/google-cloud-gkehub/package.json index 8ecde6aa4132..2e8e1a65cf8d 100644 --- a/packages/google-cloud-gkehub/package.json +++ b/packages/google-cloud-gkehub/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gkehub/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gkehub/system-test/fixtures/sample/src/index.js deleted file mode 100644 index f34518d6abff..000000000000 --- a/packages/google-cloud-gkehub/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gkehub = require('@google-cloud/gke-hub'); - -function main() { - const gkeHubClient = new gkehub.GkeHubClient(); -} - -main(); diff --git a/packages/google-cloud-gkehub/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gkehub/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 295751a96944..000000000000 --- a/packages/google-cloud-gkehub/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {GkeHubClient} from '@google-cloud/gke-hub'; - -// check that the client class type name can be used -function doStuffWithGkeHubClient(client: GkeHubClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const gkeHubClient = new GkeHubClient(); - doStuffWithGkeHubClient(gkeHubClient); -} - -main(); diff --git a/packages/google-cloud-gkehub/system-test/install.ts b/packages/google-cloud-gkehub/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gkehub/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gkemulticloud/package.json b/packages/google-cloud-gkemulticloud/package.json index b98ba4de6126..5247e6bf8c9c 100644 --- a/packages/google-cloud-gkemulticloud/package.json +++ b/packages/google-cloud-gkemulticloud/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gkemulticloud/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gkemulticloud/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 56acc27d7b48..000000000000 --- a/packages/google-cloud-gkemulticloud/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gkemulticloud = require('@google-cloud/gkemulticloud'); - -function main() { - const attachedClustersClient = new gkemulticloud.AttachedClustersClient(); - const awsClustersClient = new gkemulticloud.AwsClustersClient(); - const azureClustersClient = new gkemulticloud.AzureClustersClient(); -} - -main(); diff --git a/packages/google-cloud-gkemulticloud/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gkemulticloud/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d446ad0b3b10..000000000000 --- a/packages/google-cloud-gkemulticloud/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AttachedClustersClient, AwsClustersClient, AzureClustersClient} from '@google-cloud/gkemulticloud'; - -// check that the client class type name can be used -function doStuffWithAttachedClustersClient(client: AttachedClustersClient) { - client.close(); -} -function doStuffWithAwsClustersClient(client: AwsClustersClient) { - client.close(); -} -function doStuffWithAzureClustersClient(client: AzureClustersClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const attachedClustersClient = new AttachedClustersClient(); - doStuffWithAttachedClustersClient(attachedClustersClient); - // check that the client instance can be created - const awsClustersClient = new AwsClustersClient(); - doStuffWithAwsClustersClient(awsClustersClient); - // check that the client instance can be created - const azureClustersClient = new AzureClustersClient(); - doStuffWithAzureClustersClient(azureClustersClient); -} - -main(); diff --git a/packages/google-cloud-gkemulticloud/system-test/install.ts b/packages/google-cloud-gkemulticloud/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gkemulticloud/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gkerecommender/package.json b/packages/google-cloud-gkerecommender/package.json index 54936e28df31..e05597bc82e8 100644 --- a/packages/google-cloud-gkerecommender/package.json +++ b/packages/google-cloud-gkerecommender/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gkerecommender/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gkerecommender/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 22c90406c8c7..000000000000 --- a/packages/google-cloud-gkerecommender/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gkerecommender = require('@google-cloud/gkerecommender'); - -function main() { - const gkeInferenceQuickstartClient = new gkerecommender.GkeInferenceQuickstartClient(); -} - -main(); diff --git a/packages/google-cloud-gkerecommender/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gkerecommender/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index c63adc6a30f6..000000000000 --- a/packages/google-cloud-gkerecommender/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {GkeInferenceQuickstartClient} from '@google-cloud/gkerecommender'; - -// check that the client class type name can be used -function doStuffWithGkeInferenceQuickstartClient(client: GkeInferenceQuickstartClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const gkeInferenceQuickstartClient = new GkeInferenceQuickstartClient(); - doStuffWithGkeInferenceQuickstartClient(gkeInferenceQuickstartClient); -} - -main(); diff --git a/packages/google-cloud-gkerecommender/system-test/install.ts b/packages/google-cloud-gkerecommender/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gkerecommender/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-gsuiteaddons/package.json b/packages/google-cloud-gsuiteaddons/package.json index 0faeacf7dc09..6b3655201417 100644 --- a/packages/google-cloud-gsuiteaddons/package.json +++ b/packages/google-cloud-gsuiteaddons/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-gsuiteaddons/system-test/fixtures/sample/src/index.js b/packages/google-cloud-gsuiteaddons/system-test/fixtures/sample/src/index.js deleted file mode 100644 index e2b3ee744a8c..000000000000 --- a/packages/google-cloud-gsuiteaddons/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 gsuiteaddons = require('@google-cloud/gsuiteaddons'); - -function main() { - const gSuiteAddOnsClient = new gsuiteaddons.GSuiteAddOnsClient(); -} - -main(); diff --git a/packages/google-cloud-gsuiteaddons/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-gsuiteaddons/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ab1627d451a7..000000000000 --- a/packages/google-cloud-gsuiteaddons/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {GSuiteAddOnsClient} from '@google-cloud/gsuiteaddons'; - -// check that the client class type name can be used -function doStuffWithGSuiteAddOnsClient(client: GSuiteAddOnsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const gSuiteAddOnsClient = new GSuiteAddOnsClient(); - doStuffWithGSuiteAddOnsClient(gSuiteAddOnsClient); -} - -main(); diff --git a/packages/google-cloud-gsuiteaddons/system-test/install.ts b/packages/google-cloud-gsuiteaddons/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-gsuiteaddons/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-hypercomputecluster/package.json b/packages/google-cloud-hypercomputecluster/package.json index 1c4f9fd302ea..f7dbaf6ba12b 100644 --- a/packages/google-cloud-hypercomputecluster/package.json +++ b/packages/google-cloud-hypercomputecluster/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-hypercomputecluster/system-test/fixtures/sample/src/index.js b/packages/google-cloud-hypercomputecluster/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 342c358d7f18..000000000000 --- a/packages/google-cloud-hypercomputecluster/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 hypercomputecluster = require('@google-cloud/hypercomputecluster'); - -function main() { - const hypercomputeClusterClient = new hypercomputecluster.HypercomputeClusterClient(); -} - -main(); diff --git a/packages/google-cloud-hypercomputecluster/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-hypercomputecluster/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b6d93791f63c..000000000000 --- a/packages/google-cloud-hypercomputecluster/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {HypercomputeClusterClient} from '@google-cloud/hypercomputecluster'; - -// check that the client class type name can be used -function doStuffWithHypercomputeClusterClient(client: HypercomputeClusterClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const hypercomputeClusterClient = new HypercomputeClusterClient(); - doStuffWithHypercomputeClusterClient(hypercomputeClusterClient); -} - -main(); diff --git a/packages/google-cloud-hypercomputecluster/system-test/install.ts b/packages/google-cloud-hypercomputecluster/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-hypercomputecluster/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-iap/package.json b/packages/google-cloud-iap/package.json index ea9e551a46d4..15a5613749cc 100644 --- a/packages/google-cloud-iap/package.json +++ b/packages/google-cloud-iap/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-iap/system-test/fixtures/sample/src/index.js b/packages/google-cloud-iap/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 27d0768ed83b..000000000000 --- a/packages/google-cloud-iap/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 iap = require('@google-cloud/iap'); - -function main() { - const identityAwareProxyAdminServiceClient = new iap.IdentityAwareProxyAdminServiceClient(); - const identityAwareProxyOAuthServiceClient = new iap.IdentityAwareProxyOAuthServiceClient(); -} - -main(); diff --git a/packages/google-cloud-iap/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-iap/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0a6c4bdc6530..000000000000 --- a/packages/google-cloud-iap/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {IdentityAwareProxyAdminServiceClient, IdentityAwareProxyOAuthServiceClient} from '@google-cloud/iap'; - -// check that the client class type name can be used -function doStuffWithIdentityAwareProxyAdminServiceClient(client: IdentityAwareProxyAdminServiceClient) { - client.close(); -} -function doStuffWithIdentityAwareProxyOAuthServiceClient(client: IdentityAwareProxyOAuthServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const identityAwareProxyAdminServiceClient = new IdentityAwareProxyAdminServiceClient(); - doStuffWithIdentityAwareProxyAdminServiceClient(identityAwareProxyAdminServiceClient); - // check that the client instance can be created - const identityAwareProxyOAuthServiceClient = new IdentityAwareProxyOAuthServiceClient(); - doStuffWithIdentityAwareProxyOAuthServiceClient(identityAwareProxyOAuthServiceClient); -} - -main(); diff --git a/packages/google-cloud-iap/system-test/install.ts b/packages/google-cloud-iap/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-iap/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-ids/package.json b/packages/google-cloud-ids/package.json index 0ea2c20a889f..eaf6618e8230 100644 --- a/packages/google-cloud-ids/package.json +++ b/packages/google-cloud-ids/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-ids/system-test/fixtures/sample/src/index.js b/packages/google-cloud-ids/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6ce6b908f0b4..000000000000 --- a/packages/google-cloud-ids/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 ids = require('@google-cloud/ids'); - -function main() { - const iDSClient = new ids.IDSClient(); -} - -main(); diff --git a/packages/google-cloud-ids/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-ids/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 34f20c9d0697..000000000000 --- a/packages/google-cloud-ids/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {IDSClient} from '@google-cloud/ids'; - -// check that the client class type name can be used -function doStuffWithIDSClient(client: IDSClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const iDSClient = new IDSClient(); - doStuffWithIDSClient(iDSClient); -} - -main(); diff --git a/packages/google-cloud-ids/system-test/install.ts b/packages/google-cloud-ids/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-ids/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-iot/package.json b/packages/google-cloud-iot/package.json index 8e0a884c0c39..0bc349f7f206 100644 --- a/packages/google-cloud-iot/package.json +++ b/packages/google-cloud-iot/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-iot/system-test/fixtures/sample/src/index.js b/packages/google-cloud-iot/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 52df4c9d95b9..000000000000 --- a/packages/google-cloud-iot/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 iot = require('@google-cloud/iot'); - -function main() { - const deviceManagerClient = new iot.DeviceManagerClient(); -} - -main(); diff --git a/packages/google-cloud-iot/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-iot/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9d289084b40d..000000000000 --- a/packages/google-cloud-iot/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DeviceManagerClient} from '@google-cloud/iot'; - -// check that the client class type name can be used -function doStuffWithDeviceManagerClient(client: DeviceManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const deviceManagerClient = new DeviceManagerClient(); - doStuffWithDeviceManagerClient(deviceManagerClient); -} - -main(); diff --git a/packages/google-cloud-iot/system-test/install.ts b/packages/google-cloud-iot/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-iot/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-kms-inventory/package.json b/packages/google-cloud-kms-inventory/package.json index 8479c5332ac3..6c19ee69e758 100644 --- a/packages/google-cloud-kms-inventory/package.json +++ b/packages/google-cloud-kms-inventory/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-kms-inventory/system-test/fixtures/sample/src/index.js b/packages/google-cloud-kms-inventory/system-test/fixtures/sample/src/index.js deleted file mode 100644 index d69479800802..000000000000 --- a/packages/google-cloud-kms-inventory/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 inventory = require('@google-cloud/kms-inventory'); - -function main() { - const keyDashboardServiceClient = new inventory.KeyDashboardServiceClient(); - const keyTrackingServiceClient = new inventory.KeyTrackingServiceClient(); -} - -main(); diff --git a/packages/google-cloud-kms-inventory/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-kms-inventory/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 5e3859c1f24c..000000000000 --- a/packages/google-cloud-kms-inventory/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {KeyDashboardServiceClient, KeyTrackingServiceClient} from '@google-cloud/kms-inventory'; - -// check that the client class type name can be used -function doStuffWithKeyDashboardServiceClient(client: KeyDashboardServiceClient) { - client.close(); -} -function doStuffWithKeyTrackingServiceClient(client: KeyTrackingServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const keyDashboardServiceClient = new KeyDashboardServiceClient(); - doStuffWithKeyDashboardServiceClient(keyDashboardServiceClient); - // check that the client instance can be created - const keyTrackingServiceClient = new KeyTrackingServiceClient(); - doStuffWithKeyTrackingServiceClient(keyTrackingServiceClient); -} - -main(); diff --git a/packages/google-cloud-kms-inventory/system-test/install.ts b/packages/google-cloud-kms-inventory/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-kms-inventory/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-kms/package.json b/packages/google-cloud-kms/package.json index 897c59b616ff..0503eed1f6f4 100644 --- a/packages/google-cloud-kms/package.json +++ b/packages/google-cloud-kms/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-kms/system-test/fixtures/sample/src/index.js b/packages/google-cloud-kms/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 445e120f8315..000000000000 --- a/packages/google-cloud-kms/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 kms = require('@google-cloud/kms'); - -function main() { - const autokeyClient = new kms.AutokeyClient(); - const autokeyAdminClient = new kms.AutokeyAdminClient(); - const ekmServiceClient = new kms.EkmServiceClient(); - const hsmManagementClient = new kms.HsmManagementClient(); - const keyManagementServiceClient = new kms.KeyManagementServiceClient(); -} - -main(); diff --git a/packages/google-cloud-kms/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-kms/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 596ddc9a4f00..000000000000 --- a/packages/google-cloud-kms/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AutokeyClient, AutokeyAdminClient, EkmServiceClient, HsmManagementClient, KeyManagementServiceClient} from '@google-cloud/kms'; - -// check that the client class type name can be used -function doStuffWithAutokeyClient(client: AutokeyClient) { - client.close(); -} -function doStuffWithAutokeyAdminClient(client: AutokeyAdminClient) { - client.close(); -} -function doStuffWithEkmServiceClient(client: EkmServiceClient) { - client.close(); -} -function doStuffWithHsmManagementClient(client: HsmManagementClient) { - client.close(); -} -function doStuffWithKeyManagementServiceClient(client: KeyManagementServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const autokeyClient = new AutokeyClient(); - doStuffWithAutokeyClient(autokeyClient); - // check that the client instance can be created - const autokeyAdminClient = new AutokeyAdminClient(); - doStuffWithAutokeyAdminClient(autokeyAdminClient); - // check that the client instance can be created - const ekmServiceClient = new EkmServiceClient(); - doStuffWithEkmServiceClient(ekmServiceClient); - // check that the client instance can be created - const hsmManagementClient = new HsmManagementClient(); - doStuffWithHsmManagementClient(hsmManagementClient); - // check that the client instance can be created - const keyManagementServiceClient = new KeyManagementServiceClient(); - doStuffWithKeyManagementServiceClient(keyManagementServiceClient); -} - -main(); diff --git a/packages/google-cloud-kms/system-test/install.ts b/packages/google-cloud-kms/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-kms/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-language/package.json b/packages/google-cloud-language/package.json index 1f234b812ff7..5f9b7d11d214 100644 --- a/packages/google-cloud-language/package.json +++ b/packages/google-cloud-language/package.json @@ -67,7 +67,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-language/system-test/fixtures/sample/src/index.js b/packages/google-cloud-language/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 23735de2292a..000000000000 --- a/packages/google-cloud-language/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 language = require('@google-cloud/language'); - -function main() { - const languageServiceClient = new language.LanguageServiceClient(); -} - -main(); diff --git a/packages/google-cloud-language/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-language/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 341947311514..000000000000 --- a/packages/google-cloud-language/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LanguageServiceClient} from '@google-cloud/language'; - -// check that the client class type name can be used -function doStuffWithLanguageServiceClient(client: LanguageServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const languageServiceClient = new LanguageServiceClient(); - doStuffWithLanguageServiceClient(languageServiceClient); -} - -main(); diff --git a/packages/google-cloud-language/system-test/install.ts b/packages/google-cloud-language/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-language/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-licensemanager/package.json b/packages/google-cloud-licensemanager/package.json index dfffc8fb22fd..7c2e4cf517f8 100644 --- a/packages/google-cloud-licensemanager/package.json +++ b/packages/google-cloud-licensemanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-licensemanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-licensemanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 4db191627387..000000000000 --- a/packages/google-cloud-licensemanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 licensemanager = require('@google-cloud/licensemanager'); - -function main() { - const licenseManagerClient = new licensemanager.LicenseManagerClient(); -} - -main(); diff --git a/packages/google-cloud-licensemanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-licensemanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 888ea5fab965..000000000000 --- a/packages/google-cloud-licensemanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LicenseManagerClient} from '@google-cloud/licensemanager'; - -// check that the client class type name can be used -function doStuffWithLicenseManagerClient(client: LicenseManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const licenseManagerClient = new LicenseManagerClient(); - doStuffWithLicenseManagerClient(licenseManagerClient); -} - -main(); diff --git a/packages/google-cloud-licensemanager/system-test/install.ts b/packages/google-cloud-licensemanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-licensemanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-lifesciences/package.json b/packages/google-cloud-lifesciences/package.json index e05721854e69..20346cba9268 100644 --- a/packages/google-cloud-lifesciences/package.json +++ b/packages/google-cloud-lifesciences/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-lifesciences/system-test/fixtures/sample/src/index.js b/packages/google-cloud-lifesciences/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 853a6ce06542..000000000000 --- a/packages/google-cloud-lifesciences/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 lifesciences = require('@google-cloud/life-sciences'); - -function main() { - const workflowsServiceV2BetaClient = new lifesciences.WorkflowsServiceV2BetaClient(); -} - -main(); diff --git a/packages/google-cloud-lifesciences/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-lifesciences/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4ac75c4d74ea..000000000000 --- a/packages/google-cloud-lifesciences/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {WorkflowsServiceV2BetaClient} from '@google-cloud/life-sciences'; - -// check that the client class type name can be used -function doStuffWithWorkflowsServiceV2BetaClient(client: WorkflowsServiceV2BetaClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const workflowsServiceV2BetaClient = new WorkflowsServiceV2BetaClient(); - doStuffWithWorkflowsServiceV2BetaClient(workflowsServiceV2BetaClient); -} - -main(); diff --git a/packages/google-cloud-lifesciences/system-test/install.ts b/packages/google-cloud-lifesciences/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-lifesciences/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-locationfinder/$1/system-test/fixtures/sample/src/index.js b/packages/google-cloud-locationfinder/$1/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 04e5ce9670a1..000000000000 --- a/packages/google-cloud-locationfinder/$1/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 locationfinder = require('@google-cloud/locationfinder'); - -function main() { - const cloudLocationFinderClient = new locationfinder.CloudLocationFinderClient(); -} - -main(); diff --git a/packages/google-cloud-locationfinder/$1/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-locationfinder/$1/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 258a9b6299a5..000000000000 --- a/packages/google-cloud-locationfinder/$1/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudLocationFinderClient} from '@google-cloud/locationfinder'; - -// check that the client class type name can be used -function doStuffWithCloudLocationFinderClient(client: CloudLocationFinderClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudLocationFinderClient = new CloudLocationFinderClient(); - doStuffWithCloudLocationFinderClient(cloudLocationFinderClient); -} - -main(); diff --git a/packages/google-cloud-locationfinder/$1/system-test/install.ts b/packages/google-cloud-locationfinder/$1/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-locationfinder/$1/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-locationfinder/package.json b/packages/google-cloud-locationfinder/package.json index a3eee0df79f0..13e0793eb0ab 100644 --- a/packages/google-cloud-locationfinder/package.json +++ b/packages/google-cloud-locationfinder/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-locationfinder/system-test/fixtures/sample/src/index.js b/packages/google-cloud-locationfinder/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 45d5286b2d8f..000000000000 --- a/packages/google-cloud-locationfinder/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 locationfinder = require('@google-cloud/locationfinder'); - -function main() { - const cloudLocationFinderClient = new locationfinder.CloudLocationFinderClient(); -} - -main(); diff --git a/packages/google-cloud-locationfinder/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-locationfinder/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 707cb329cfbe..000000000000 --- a/packages/google-cloud-locationfinder/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudLocationFinderClient} from '@google-cloud/locationfinder'; - -// check that the client class type name can be used -function doStuffWithCloudLocationFinderClient(client: CloudLocationFinderClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudLocationFinderClient = new CloudLocationFinderClient(); - doStuffWithCloudLocationFinderClient(cloudLocationFinderClient); -} - -main(); diff --git a/packages/google-cloud-locationfinder/system-test/install.ts b/packages/google-cloud-locationfinder/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-cloud-locationfinder/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-lustre/package.json b/packages/google-cloud-lustre/package.json index 2dec5ce19723..247aecf7440c 100644 --- a/packages/google-cloud-lustre/package.json +++ b/packages/google-cloud-lustre/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-lustre/system-test/fixtures/sample/src/index.js b/packages/google-cloud-lustre/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b9d9a7f502f9..000000000000 --- a/packages/google-cloud-lustre/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 lustre = require('@google-cloud/lustre'); - -function main() { - const lustreClient = new lustre.LustreClient(); -} - -main(); diff --git a/packages/google-cloud-lustre/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-lustre/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ab203783ba59..000000000000 --- a/packages/google-cloud-lustre/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LustreClient} from '@google-cloud/lustre'; - -// check that the client class type name can be used -function doStuffWithLustreClient(client: LustreClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const lustreClient = new LustreClient(); - doStuffWithLustreClient(lustreClient); -} - -main(); diff --git a/packages/google-cloud-lustre/system-test/install.ts b/packages/google-cloud-lustre/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-lustre/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-maintenance-api/package.json b/packages/google-cloud-maintenance-api/package.json index 5cf3052338b0..86b25d211c6a 100644 --- a/packages/google-cloud-maintenance-api/package.json +++ b/packages/google-cloud-maintenance-api/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-maintenance-api/system-test/fixtures/sample/src/index.js b/packages/google-cloud-maintenance-api/system-test/fixtures/sample/src/index.js deleted file mode 100644 index d9e9a840ddd7..000000000000 --- a/packages/google-cloud-maintenance-api/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 api = require('@google-cloud/maintenance-api'); - -function main() { - const maintenanceClient = new api.MaintenanceClient(); -} - -main(); diff --git a/packages/google-cloud-maintenance-api/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-maintenance-api/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0cd39bffccdc..000000000000 --- a/packages/google-cloud-maintenance-api/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MaintenanceClient} from '@google-cloud/maintenance-api'; - -// check that the client class type name can be used -function doStuffWithMaintenanceClient(client: MaintenanceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const maintenanceClient = new MaintenanceClient(); - doStuffWithMaintenanceClient(maintenanceClient); -} - -main(); diff --git a/packages/google-cloud-maintenance-api/system-test/install.ts b/packages/google-cloud-maintenance-api/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-maintenance-api/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-managedidentities/package.json b/packages/google-cloud-managedidentities/package.json index cd14199d803a..a1e655a4d301 100644 --- a/packages/google-cloud-managedidentities/package.json +++ b/packages/google-cloud-managedidentities/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-managedidentities/system-test/fixtures/sample/src/index.js b/packages/google-cloud-managedidentities/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5976735b886b..000000000000 --- a/packages/google-cloud-managedidentities/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 managedidentities = require('@google-cloud/managed-identities'); - -function main() { - const managedIdentitiesServiceClient = new managedidentities.ManagedIdentitiesServiceClient(); -} - -main(); diff --git a/packages/google-cloud-managedidentities/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-managedidentities/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index bd6b45c6a2f0..000000000000 --- a/packages/google-cloud-managedidentities/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ManagedIdentitiesServiceClient} from '@google-cloud/managed-identities'; - -// check that the client class type name can be used -function doStuffWithManagedIdentitiesServiceClient(client: ManagedIdentitiesServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const managedIdentitiesServiceClient = new ManagedIdentitiesServiceClient(); - doStuffWithManagedIdentitiesServiceClient(managedIdentitiesServiceClient); -} - -main(); diff --git a/packages/google-cloud-managedidentities/system-test/install.ts b/packages/google-cloud-managedidentities/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-managedidentities/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-managedkafka-schemaregistry/package.json b/packages/google-cloud-managedkafka-schemaregistry/package.json index e266a6714c81..ed5ea41e1b1e 100644 --- a/packages/google-cloud-managedkafka-schemaregistry/package.json +++ b/packages/google-cloud-managedkafka-schemaregistry/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-managedkafka-schemaregistry/system-test/fixtures/sample/src/index.js b/packages/google-cloud-managedkafka-schemaregistry/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a891910912f6..000000000000 --- a/packages/google-cloud-managedkafka-schemaregistry/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 schemaregistry = require('@google-cloud/managedkafka-schemaregistry'); - -function main() { - const managedSchemaRegistryClient = new schemaregistry.ManagedSchemaRegistryClient(); -} - -main(); diff --git a/packages/google-cloud-managedkafka-schemaregistry/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-managedkafka-schemaregistry/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 3aca31104f54..000000000000 --- a/packages/google-cloud-managedkafka-schemaregistry/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ManagedSchemaRegistryClient} from '@google-cloud/managedkafka-schemaregistry'; - -// check that the client class type name can be used -function doStuffWithManagedSchemaRegistryClient(client: ManagedSchemaRegistryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const managedSchemaRegistryClient = new ManagedSchemaRegistryClient(); - doStuffWithManagedSchemaRegistryClient(managedSchemaRegistryClient); -} - -main(); diff --git a/packages/google-cloud-managedkafka-schemaregistry/system-test/install.ts b/packages/google-cloud-managedkafka-schemaregistry/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-managedkafka-schemaregistry/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-managedkafka/package.json b/packages/google-cloud-managedkafka/package.json index 344e59aeb8e8..a48210699ddf 100644 --- a/packages/google-cloud-managedkafka/package.json +++ b/packages/google-cloud-managedkafka/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-managedkafka/system-test/fixtures/sample/src/index.js b/packages/google-cloud-managedkafka/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 447081ad0435..000000000000 --- a/packages/google-cloud-managedkafka/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 managedkafka = require('@google-cloud/managedkafka'); - -function main() { - const managedKafkaClient = new managedkafka.ManagedKafkaClient(); - const managedKafkaConnectClient = new managedkafka.ManagedKafkaConnectClient(); -} - -main(); diff --git a/packages/google-cloud-managedkafka/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-managedkafka/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9dd985082162..000000000000 --- a/packages/google-cloud-managedkafka/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ManagedKafkaClient, ManagedKafkaConnectClient} from '@google-cloud/managedkafka'; - -// check that the client class type name can be used -function doStuffWithManagedKafkaClient(client: ManagedKafkaClient) { - client.close(); -} -function doStuffWithManagedKafkaConnectClient(client: ManagedKafkaConnectClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const managedKafkaClient = new ManagedKafkaClient(); - doStuffWithManagedKafkaClient(managedKafkaClient); - // check that the client instance can be created - const managedKafkaConnectClient = new ManagedKafkaConnectClient(); - doStuffWithManagedKafkaConnectClient(managedKafkaConnectClient); -} - -main(); diff --git a/packages/google-cloud-managedkafka/system-test/install.ts b/packages/google-cloud-managedkafka/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-managedkafka/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-managedkafka/v1/package.json b/packages/google-cloud-managedkafka/v1/package.json index 7622127aba85..c466a5d90cdf 100644 --- a/packages/google-cloud-managedkafka/v1/package.json +++ b/packages/google-cloud-managedkafka/v1/package.json @@ -31,7 +31,7 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -48,7 +48,6 @@ "jsdoc-fresh": "^4.0.0", "jsdoc-region-tag": "^3.0.0", "mocha": "^11.7.2", - "pack-n-play": "^3.0.0", "typescript": "5.8.3", "sinon": "21.0.3" }, diff --git a/packages/google-cloud-managedkafka/v1/system-test/fixtures/sample/src/index.js b/packages/google-cloud-managedkafka/v1/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a72ab601f637..000000000000 --- a/packages/google-cloud-managedkafka/v1/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 schemaregistry = require('@google-cloud/managedkafka-schemaregistry'); - -function main() { - const managedSchemaRegistryClient = new schemaregistry.ManagedSchemaRegistryClient(); -} - -main(); diff --git a/packages/google-cloud-managedkafka/v1/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-managedkafka/v1/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a594fd782d61..000000000000 --- a/packages/google-cloud-managedkafka/v1/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ManagedSchemaRegistryClient} from '@google-cloud/managedkafka-schemaregistry'; - -// check that the client class type name can be used -function doStuffWithManagedSchemaRegistryClient(client: ManagedSchemaRegistryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const managedSchemaRegistryClient = new ManagedSchemaRegistryClient(); - doStuffWithManagedSchemaRegistryClient(managedSchemaRegistryClient); -} - -main(); diff --git a/packages/google-cloud-managedkafka/v1/system-test/install.ts b/packages/google-cloud-managedkafka/v1/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-cloud-managedkafka/v1/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-mediatranslation/package.json b/packages/google-cloud-mediatranslation/package.json index b61a55a24d7c..8737c50872dc 100644 --- a/packages/google-cloud-mediatranslation/package.json +++ b/packages/google-cloud-mediatranslation/package.json @@ -28,7 +28,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -47,7 +47,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-mediatranslation/system-test/fixtures/sample/src/index.js b/packages/google-cloud-mediatranslation/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 0916a0724a11..000000000000 --- a/packages/google-cloud-mediatranslation/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 mediatranslation = require('@google-cloud/media-translation'); - -function main() { - const speechTranslationServiceClient = new mediatranslation.SpeechTranslationServiceClient(); -} - -main(); diff --git a/packages/google-cloud-mediatranslation/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-mediatranslation/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 17b62677c4f5..000000000000 --- a/packages/google-cloud-mediatranslation/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SpeechTranslationServiceClient} from '@google-cloud/media-translation'; - -// check that the client class type name can be used -function doStuffWithSpeechTranslationServiceClient(client: SpeechTranslationServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const speechTranslationServiceClient = new SpeechTranslationServiceClient(); - doStuffWithSpeechTranslationServiceClient(speechTranslationServiceClient); -} - -main(); diff --git a/packages/google-cloud-mediatranslation/system-test/install.ts b/packages/google-cloud-mediatranslation/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-mediatranslation/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-memcache/package.json b/packages/google-cloud-memcache/package.json index c8936ce49316..f0aee816746c 100644 --- a/packages/google-cloud-memcache/package.json +++ b/packages/google-cloud-memcache/package.json @@ -28,7 +28,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -47,7 +47,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-memcache/system-test/fixtures/sample/src/index.js b/packages/google-cloud-memcache/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6dcb89b7eb5d..000000000000 --- a/packages/google-cloud-memcache/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 memcache = require('@google-cloud/memcache'); - -function main() { - const cloudMemcacheClient = new memcache.CloudMemcacheClient(); -} - -main(); diff --git a/packages/google-cloud-memcache/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-memcache/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index bf5979a21323..000000000000 --- a/packages/google-cloud-memcache/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudMemcacheClient} from '@google-cloud/memcache'; - -// check that the client class type name can be used -function doStuffWithCloudMemcacheClient(client: CloudMemcacheClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudMemcacheClient = new CloudMemcacheClient(); - doStuffWithCloudMemcacheClient(cloudMemcacheClient); -} - -main(); diff --git a/packages/google-cloud-memcache/system-test/install.ts b/packages/google-cloud-memcache/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-memcache/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-memorystore/package.json b/packages/google-cloud-memorystore/package.json index c8aa61f28329..5a67dbe329cd 100644 --- a/packages/google-cloud-memorystore/package.json +++ b/packages/google-cloud-memorystore/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-memorystore/system-test/fixtures/sample/src/index.js b/packages/google-cloud-memorystore/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b040215dfcc7..000000000000 --- a/packages/google-cloud-memorystore/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 memorystore = require('@google-cloud/memorystore'); - -function main() { - const memorystoreClient = new memorystore.MemorystoreClient(); -} - -main(); diff --git a/packages/google-cloud-memorystore/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-memorystore/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 2b2ec5a9371b..000000000000 --- a/packages/google-cloud-memorystore/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MemorystoreClient} from '@google-cloud/memorystore'; - -// check that the client class type name can be used -function doStuffWithMemorystoreClient(client: MemorystoreClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const memorystoreClient = new MemorystoreClient(); - doStuffWithMemorystoreClient(memorystoreClient); -} - -main(); diff --git a/packages/google-cloud-memorystore/system-test/install.ts b/packages/google-cloud-memorystore/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-memorystore/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-metastore/package.json b/packages/google-cloud-metastore/package.json index 0fd1bd10682d..babf13cbe492 100644 --- a/packages/google-cloud-metastore/package.json +++ b/packages/google-cloud-metastore/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-metastore/system-test/fixtures/sample/src/index.js b/packages/google-cloud-metastore/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8c8f7f800132..000000000000 --- a/packages/google-cloud-metastore/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 metastore = require('@google-cloud/dataproc-metastore'); - -function main() { - const dataprocMetastoreClient = new metastore.DataprocMetastoreClient(); - const dataprocMetastoreFederationClient = new metastore.DataprocMetastoreFederationClient(); -} - -main(); diff --git a/packages/google-cloud-metastore/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-metastore/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1d3ebc0fc7e4..000000000000 --- a/packages/google-cloud-metastore/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataprocMetastoreClient, DataprocMetastoreFederationClient} from '@google-cloud/dataproc-metastore'; - -// check that the client class type name can be used -function doStuffWithDataprocMetastoreClient(client: DataprocMetastoreClient) { - client.close(); -} -function doStuffWithDataprocMetastoreFederationClient(client: DataprocMetastoreFederationClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataprocMetastoreClient = new DataprocMetastoreClient(); - doStuffWithDataprocMetastoreClient(dataprocMetastoreClient); - // check that the client instance can be created - const dataprocMetastoreFederationClient = new DataprocMetastoreFederationClient(); - doStuffWithDataprocMetastoreFederationClient(dataprocMetastoreFederationClient); -} - -main(); diff --git a/packages/google-cloud-metastore/system-test/install.ts b/packages/google-cloud-metastore/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-metastore/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-migrationcenter/package.json b/packages/google-cloud-migrationcenter/package.json index 1bdda5796adf..dcfdc1640233 100644 --- a/packages/google-cloud-migrationcenter/package.json +++ b/packages/google-cloud-migrationcenter/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-migrationcenter/system-test/fixtures/sample/src/index.js b/packages/google-cloud-migrationcenter/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 09b0d79b6c8b..000000000000 --- a/packages/google-cloud-migrationcenter/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 migrationcenter = require('@google-cloud/migrationcenter'); - -function main() { - const migrationCenterClient = new migrationcenter.MigrationCenterClient(); -} - -main(); diff --git a/packages/google-cloud-migrationcenter/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-migrationcenter/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b65b9989223a..000000000000 --- a/packages/google-cloud-migrationcenter/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MigrationCenterClient} from '@google-cloud/migrationcenter'; - -// check that the client class type name can be used -function doStuffWithMigrationCenterClient(client: MigrationCenterClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const migrationCenterClient = new MigrationCenterClient(); - doStuffWithMigrationCenterClient(migrationCenterClient); -} - -main(); diff --git a/packages/google-cloud-migrationcenter/system-test/install.ts b/packages/google-cloud-migrationcenter/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-migrationcenter/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-modelarmor/package.json b/packages/google-cloud-modelarmor/package.json index 38af82f7e1ea..073f3ddfd2ea 100644 --- a/packages/google-cloud-modelarmor/package.json +++ b/packages/google-cloud-modelarmor/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "4.1.2", "long": "^5.2.3", "mocha": "^9.2.2", - "pack-n-play": "^2.0.0", "sinon": "21.0.3", "typescript": "^5.1.6" }, diff --git a/packages/google-cloud-modelarmor/system-test/fixtures/sample/src/index.js b/packages/google-cloud-modelarmor/system-test/fixtures/sample/src/index.js deleted file mode 100644 index c79d4a1e37f0..000000000000 --- a/packages/google-cloud-modelarmor/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 modelarmor = require('@google-cloud/modelarmor'); - -function main() { - const modelArmorClient = new modelarmor.ModelArmorClient(); -} - -main(); diff --git a/packages/google-cloud-modelarmor/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-modelarmor/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index db6249209557..000000000000 --- a/packages/google-cloud-modelarmor/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ModelArmorClient} from '@google-cloud/modelarmor'; - -// check that the client class type name can be used -function doStuffWithModelArmorClient(client: ModelArmorClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const modelArmorClient = new ModelArmorClient(); - doStuffWithModelArmorClient(modelArmorClient); -} - -main(); diff --git a/packages/google-cloud-modelarmor/system-test/install.ts b/packages/google-cloud-modelarmor/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-modelarmor/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-monitoring/package.json b/packages/google-cloud-monitoring/package.json index 91f7686015b9..19d66ae5d98e 100644 --- a/packages/google-cloud-monitoring/package.json +++ b/packages/google-cloud-monitoring/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-monitoring/system-test/fixtures/sample/src/index.js b/packages/google-cloud-monitoring/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 95ddea935e2e..000000000000 --- a/packages/google-cloud-monitoring/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 monitoring = require('@google-cloud/monitoring'); - -function main() { - const alertPolicyServiceClient = new monitoring.AlertPolicyServiceClient(); - const groupServiceClient = new monitoring.GroupServiceClient(); - const metricServiceClient = new monitoring.MetricServiceClient(); - const notificationChannelServiceClient = new monitoring.NotificationChannelServiceClient(); - const queryServiceClient = new monitoring.QueryServiceClient(); - const serviceMonitoringServiceClient = new monitoring.ServiceMonitoringServiceClient(); - const snoozeServiceClient = new monitoring.SnoozeServiceClient(); - const uptimeCheckServiceClient = new monitoring.UptimeCheckServiceClient(); -} - -main(); diff --git a/packages/google-cloud-monitoring/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-monitoring/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 25268a0fe205..000000000000 --- a/packages/google-cloud-monitoring/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AlertPolicyServiceClient, GroupServiceClient, MetricServiceClient, NotificationChannelServiceClient, QueryServiceClient, ServiceMonitoringServiceClient, SnoozeServiceClient, UptimeCheckServiceClient} from '@google-cloud/monitoring'; - -// check that the client class type name can be used -function doStuffWithAlertPolicyServiceClient(client: AlertPolicyServiceClient) { - client.close(); -} -function doStuffWithGroupServiceClient(client: GroupServiceClient) { - client.close(); -} -function doStuffWithMetricServiceClient(client: MetricServiceClient) { - client.close(); -} -function doStuffWithNotificationChannelServiceClient(client: NotificationChannelServiceClient) { - client.close(); -} -function doStuffWithQueryServiceClient(client: QueryServiceClient) { - client.close(); -} -function doStuffWithServiceMonitoringServiceClient(client: ServiceMonitoringServiceClient) { - client.close(); -} -function doStuffWithSnoozeServiceClient(client: SnoozeServiceClient) { - client.close(); -} -function doStuffWithUptimeCheckServiceClient(client: UptimeCheckServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const alertPolicyServiceClient = new AlertPolicyServiceClient(); - doStuffWithAlertPolicyServiceClient(alertPolicyServiceClient); - // check that the client instance can be created - const groupServiceClient = new GroupServiceClient(); - doStuffWithGroupServiceClient(groupServiceClient); - // check that the client instance can be created - const metricServiceClient = new MetricServiceClient(); - doStuffWithMetricServiceClient(metricServiceClient); - // check that the client instance can be created - const notificationChannelServiceClient = new NotificationChannelServiceClient(); - doStuffWithNotificationChannelServiceClient(notificationChannelServiceClient); - // check that the client instance can be created - const queryServiceClient = new QueryServiceClient(); - doStuffWithQueryServiceClient(queryServiceClient); - // check that the client instance can be created - const serviceMonitoringServiceClient = new ServiceMonitoringServiceClient(); - doStuffWithServiceMonitoringServiceClient(serviceMonitoringServiceClient); - // check that the client instance can be created - const snoozeServiceClient = new SnoozeServiceClient(); - doStuffWithSnoozeServiceClient(snoozeServiceClient); - // check that the client instance can be created - const uptimeCheckServiceClient = new UptimeCheckServiceClient(); - doStuffWithUptimeCheckServiceClient(uptimeCheckServiceClient); -} - -main(); diff --git a/packages/google-cloud-monitoring/system-test/install.ts b/packages/google-cloud-monitoring/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-cloud-monitoring/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-netapp/package.json b/packages/google-cloud-netapp/package.json index fa24d3461ebf..5e563b448337 100644 --- a/packages/google-cloud-netapp/package.json +++ b/packages/google-cloud-netapp/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-netapp/system-test/fixtures/sample/src/index.js b/packages/google-cloud-netapp/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 736d0a864531..000000000000 --- a/packages/google-cloud-netapp/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 netapp = require('@google-cloud/netapp'); - -function main() { - const netAppClient = new netapp.NetAppClient(); -} - -main(); diff --git a/packages/google-cloud-netapp/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-netapp/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 04c911e2a640..000000000000 --- a/packages/google-cloud-netapp/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {NetAppClient} from '@google-cloud/netapp'; - -// check that the client class type name can be used -function doStuffWithNetAppClient(client: NetAppClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const netAppClient = new NetAppClient(); - doStuffWithNetAppClient(netAppClient); -} - -main(); diff --git a/packages/google-cloud-netapp/system-test/install.ts b/packages/google-cloud-netapp/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-netapp/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-networkconnectivity/package.json b/packages/google-cloud-networkconnectivity/package.json index 1fdd7a98efb7..03f213898237 100644 --- a/packages/google-cloud-networkconnectivity/package.json +++ b/packages/google-cloud-networkconnectivity/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-networkconnectivity/system-test/fixtures/sample/src/index.js b/packages/google-cloud-networkconnectivity/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 21b154de898d..000000000000 --- a/packages/google-cloud-networkconnectivity/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 networkconnectivity = require('@google-cloud/network-connectivity'); - -function main() { - const crossNetworkAutomationServiceClient = new networkconnectivity.CrossNetworkAutomationServiceClient(); - const dataTransferServiceClient = new networkconnectivity.DataTransferServiceClient(); - const hubServiceClient = new networkconnectivity.HubServiceClient(); - const internalRangeServiceClient = new networkconnectivity.InternalRangeServiceClient(); - const policyBasedRoutingServiceClient = new networkconnectivity.PolicyBasedRoutingServiceClient(); -} - -main(); diff --git a/packages/google-cloud-networkconnectivity/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-networkconnectivity/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 84fff8c7a069..000000000000 --- a/packages/google-cloud-networkconnectivity/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CrossNetworkAutomationServiceClient, DataTransferServiceClient, HubServiceClient, InternalRangeServiceClient, PolicyBasedRoutingServiceClient} from '@google-cloud/network-connectivity'; - -// check that the client class type name can be used -function doStuffWithCrossNetworkAutomationServiceClient(client: CrossNetworkAutomationServiceClient) { - client.close(); -} -function doStuffWithDataTransferServiceClient(client: DataTransferServiceClient) { - client.close(); -} -function doStuffWithHubServiceClient(client: HubServiceClient) { - client.close(); -} -function doStuffWithInternalRangeServiceClient(client: InternalRangeServiceClient) { - client.close(); -} -function doStuffWithPolicyBasedRoutingServiceClient(client: PolicyBasedRoutingServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const crossNetworkAutomationServiceClient = new CrossNetworkAutomationServiceClient(); - doStuffWithCrossNetworkAutomationServiceClient(crossNetworkAutomationServiceClient); - // check that the client instance can be created - const dataTransferServiceClient = new DataTransferServiceClient(); - doStuffWithDataTransferServiceClient(dataTransferServiceClient); - // check that the client instance can be created - const hubServiceClient = new HubServiceClient(); - doStuffWithHubServiceClient(hubServiceClient); - // check that the client instance can be created - const internalRangeServiceClient = new InternalRangeServiceClient(); - doStuffWithInternalRangeServiceClient(internalRangeServiceClient); - // check that the client instance can be created - const policyBasedRoutingServiceClient = new PolicyBasedRoutingServiceClient(); - doStuffWithPolicyBasedRoutingServiceClient(policyBasedRoutingServiceClient); -} - -main(); diff --git a/packages/google-cloud-networkconnectivity/system-test/install.ts b/packages/google-cloud-networkconnectivity/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-networkconnectivity/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-networkmanagement/package.json b/packages/google-cloud-networkmanagement/package.json index b1bde7733493..274e2f83154d 100644 --- a/packages/google-cloud-networkmanagement/package.json +++ b/packages/google-cloud-networkmanagement/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-networkmanagement/system-test/fixtures/sample/src/index.js b/packages/google-cloud-networkmanagement/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 41626be2933e..000000000000 --- a/packages/google-cloud-networkmanagement/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 networkmanagement = require('@google-cloud/network-management'); - -function main() { - const organizationVpcFlowLogsServiceClient = new networkmanagement.OrganizationVpcFlowLogsServiceClient(); - const reachabilityServiceClient = new networkmanagement.ReachabilityServiceClient(); - const vpcFlowLogsServiceClient = new networkmanagement.VpcFlowLogsServiceClient(); -} - -main(); diff --git a/packages/google-cloud-networkmanagement/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-networkmanagement/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a5ea1c799be2..000000000000 --- a/packages/google-cloud-networkmanagement/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OrganizationVpcFlowLogsServiceClient, ReachabilityServiceClient, VpcFlowLogsServiceClient} from '@google-cloud/network-management'; - -// check that the client class type name can be used -function doStuffWithOrganizationVpcFlowLogsServiceClient(client: OrganizationVpcFlowLogsServiceClient) { - client.close(); -} -function doStuffWithReachabilityServiceClient(client: ReachabilityServiceClient) { - client.close(); -} -function doStuffWithVpcFlowLogsServiceClient(client: VpcFlowLogsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const organizationVpcFlowLogsServiceClient = new OrganizationVpcFlowLogsServiceClient(); - doStuffWithOrganizationVpcFlowLogsServiceClient(organizationVpcFlowLogsServiceClient); - // check that the client instance can be created - const reachabilityServiceClient = new ReachabilityServiceClient(); - doStuffWithReachabilityServiceClient(reachabilityServiceClient); - // check that the client instance can be created - const vpcFlowLogsServiceClient = new VpcFlowLogsServiceClient(); - doStuffWithVpcFlowLogsServiceClient(vpcFlowLogsServiceClient); -} - -main(); diff --git a/packages/google-cloud-networkmanagement/system-test/install.ts b/packages/google-cloud-networkmanagement/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-networkmanagement/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-networksecurity/package.json b/packages/google-cloud-networksecurity/package.json index c6526bc4dec4..37e1de1d9e60 100644 --- a/packages/google-cloud-networksecurity/package.json +++ b/packages/google-cloud-networksecurity/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-networksecurity/system-test/fixtures/sample/src/index.js b/packages/google-cloud-networksecurity/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 21c13ae21e54..000000000000 --- a/packages/google-cloud-networksecurity/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 networksecurity = require('@google-cloud/network-security'); - -function main() { - const dnsThreatDetectorServiceClient = new networksecurity.DnsThreatDetectorServiceClient(); - const networkSecurityClient = new networksecurity.NetworkSecurityClient(); -} - -main(); diff --git a/packages/google-cloud-networksecurity/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-networksecurity/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a3a21a555210..000000000000 --- a/packages/google-cloud-networksecurity/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DnsThreatDetectorServiceClient, NetworkSecurityClient} from '@google-cloud/network-security'; - -// check that the client class type name can be used -function doStuffWithDnsThreatDetectorServiceClient(client: DnsThreatDetectorServiceClient) { - client.close(); -} -function doStuffWithNetworkSecurityClient(client: NetworkSecurityClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dnsThreatDetectorServiceClient = new DnsThreatDetectorServiceClient(); - doStuffWithDnsThreatDetectorServiceClient(dnsThreatDetectorServiceClient); - // check that the client instance can be created - const networkSecurityClient = new NetworkSecurityClient(); - doStuffWithNetworkSecurityClient(networkSecurityClient); -} - -main(); diff --git a/packages/google-cloud-networksecurity/system-test/install.ts b/packages/google-cloud-networksecurity/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-networksecurity/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-networkservices/package.json b/packages/google-cloud-networkservices/package.json index d84593847ec4..0ecefbec556e 100644 --- a/packages/google-cloud-networkservices/package.json +++ b/packages/google-cloud-networkservices/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-networkservices/system-test/fixtures/sample/src/index.js b/packages/google-cloud-networkservices/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 4e90e65e3992..000000000000 --- a/packages/google-cloud-networkservices/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 networkservices = require('@google-cloud/networkservices'); - -function main() { - const depServiceClient = new networkservices.DepServiceClient(); - const networkServicesClient = new networkservices.NetworkServicesClient(); -} - -main(); diff --git a/packages/google-cloud-networkservices/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-networkservices/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 480f596b1241..000000000000 --- a/packages/google-cloud-networkservices/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DepServiceClient, NetworkServicesClient} from '@google-cloud/networkservices'; - -// check that the client class type name can be used -function doStuffWithDepServiceClient(client: DepServiceClient) { - client.close(); -} -function doStuffWithNetworkServicesClient(client: NetworkServicesClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const depServiceClient = new DepServiceClient(); - doStuffWithDepServiceClient(depServiceClient); - // check that the client instance can be created - const networkServicesClient = new NetworkServicesClient(); - doStuffWithNetworkServicesClient(networkServicesClient); -} - -main(); diff --git a/packages/google-cloud-networkservices/system-test/install.ts b/packages/google-cloud-networkservices/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-networkservices/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-notebooks/package.json b/packages/google-cloud-notebooks/package.json index b8a49b16bfca..3fb216f9bf5a 100644 --- a/packages/google-cloud-notebooks/package.json +++ b/packages/google-cloud-notebooks/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-notebooks/system-test/fixtures/sample/src/index.js b/packages/google-cloud-notebooks/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9f38027be497..000000000000 --- a/packages/google-cloud-notebooks/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 notebooks = require('@google-cloud/notebooks'); - -function main() { - const managedNotebookServiceClient = new notebooks.ManagedNotebookServiceClient(); - const notebookServiceClient = new notebooks.NotebookServiceClient(); -} - -main(); diff --git a/packages/google-cloud-notebooks/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-notebooks/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 850111b27db1..000000000000 --- a/packages/google-cloud-notebooks/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ManagedNotebookServiceClient, NotebookServiceClient} from '@google-cloud/notebooks'; - -// check that the client class type name can be used -function doStuffWithManagedNotebookServiceClient(client: ManagedNotebookServiceClient) { - client.close(); -} -function doStuffWithNotebookServiceClient(client: NotebookServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const managedNotebookServiceClient = new ManagedNotebookServiceClient(); - doStuffWithManagedNotebookServiceClient(managedNotebookServiceClient); - // check that the client instance can be created - const notebookServiceClient = new NotebookServiceClient(); - doStuffWithNotebookServiceClient(notebookServiceClient); -} - -main(); diff --git a/packages/google-cloud-notebooks/system-test/install.ts b/packages/google-cloud-notebooks/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-notebooks/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-oracledatabase/package.json b/packages/google-cloud-oracledatabase/package.json index 1fd7e20b8731..274a3a1a6700 100644 --- a/packages/google-cloud-oracledatabase/package.json +++ b/packages/google-cloud-oracledatabase/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-oracledatabase/system-test/fixtures/sample/src/index.js b/packages/google-cloud-oracledatabase/system-test/fixtures/sample/src/index.js deleted file mode 100644 index cb9a31f97c2c..000000000000 --- a/packages/google-cloud-oracledatabase/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 oracledatabase = require('@google-cloud/oracledatabase'); - -function main() { - const oracleDatabaseClient = new oracledatabase.OracleDatabaseClient(); -} - -main(); diff --git a/packages/google-cloud-oracledatabase/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-oracledatabase/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 5c2ae78b5441..000000000000 --- a/packages/google-cloud-oracledatabase/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OracleDatabaseClient} from '@google-cloud/oracledatabase'; - -// check that the client class type name can be used -function doStuffWithOracleDatabaseClient(client: OracleDatabaseClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const oracleDatabaseClient = new OracleDatabaseClient(); - doStuffWithOracleDatabaseClient(oracleDatabaseClient); -} - -main(); diff --git a/packages/google-cloud-oracledatabase/system-test/install.ts b/packages/google-cloud-oracledatabase/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-oracledatabase/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-orchestration-airflow-service/package.json b/packages/google-cloud-orchestration-airflow-service/package.json index eb827ae8437a..d5c960a18fd3 100644 --- a/packages/google-cloud-orchestration-airflow-service/package.json +++ b/packages/google-cloud-orchestration-airflow-service/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-orchestration-airflow-service/system-test/fixtures/sample/src/index.js b/packages/google-cloud-orchestration-airflow-service/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8cb04467cc97..000000000000 --- a/packages/google-cloud-orchestration-airflow-service/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 service = require('@google-cloud/orchestration-airflow'); - -function main() { - const environmentsClient = new service.EnvironmentsClient(); - const imageVersionsClient = new service.ImageVersionsClient(); -} - -main(); diff --git a/packages/google-cloud-orchestration-airflow-service/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-orchestration-airflow-service/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 318a2ae68c77..000000000000 --- a/packages/google-cloud-orchestration-airflow-service/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {EnvironmentsClient, ImageVersionsClient} from '@google-cloud/orchestration-airflow'; - -// check that the client class type name can be used -function doStuffWithEnvironmentsClient(client: EnvironmentsClient) { - client.close(); -} -function doStuffWithImageVersionsClient(client: ImageVersionsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const environmentsClient = new EnvironmentsClient(); - doStuffWithEnvironmentsClient(environmentsClient); - // check that the client instance can be created - const imageVersionsClient = new ImageVersionsClient(); - doStuffWithImageVersionsClient(imageVersionsClient); -} - -main(); diff --git a/packages/google-cloud-orchestration-airflow-service/system-test/install.ts b/packages/google-cloud-orchestration-airflow-service/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-orchestration-airflow-service/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-orgpolicy/package.json b/packages/google-cloud-orgpolicy/package.json index 4525dde631da..e00300d23b4f 100644 --- a/packages/google-cloud-orgpolicy/package.json +++ b/packages/google-cloud-orgpolicy/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-orgpolicy/system-test/fixtures/sample/src/index.js b/packages/google-cloud-orgpolicy/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 18eb2214f910..000000000000 --- a/packages/google-cloud-orgpolicy/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 orgpolicy = require('@google-cloud/org-policy'); - -function main() { - const orgPolicyClient = new orgpolicy.OrgPolicyClient(); -} - -main(); diff --git a/packages/google-cloud-orgpolicy/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-orgpolicy/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d2e3549fcc5d..000000000000 --- a/packages/google-cloud-orgpolicy/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OrgPolicyClient} from '@google-cloud/org-policy'; - -// check that the client class type name can be used -function doStuffWithOrgPolicyClient(client: OrgPolicyClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const orgPolicyClient = new OrgPolicyClient(); - doStuffWithOrgPolicyClient(orgPolicyClient); -} - -main(); diff --git a/packages/google-cloud-orgpolicy/system-test/install.ts b/packages/google-cloud-orgpolicy/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-orgpolicy/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-osconfig/package.json b/packages/google-cloud-osconfig/package.json index 95ac39c88dfc..23a4c7f56864 100644 --- a/packages/google-cloud-osconfig/package.json +++ b/packages/google-cloud-osconfig/package.json @@ -27,7 +27,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -46,7 +46,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-osconfig/system-test/fixtures/sample/src/index.js b/packages/google-cloud-osconfig/system-test/fixtures/sample/src/index.js deleted file mode 100644 index beb4de4b9ca7..000000000000 --- a/packages/google-cloud-osconfig/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 osconfig = require('@google-cloud/os-config'); - -function main() { - const osConfigServiceClient = new osconfig.OsConfigServiceClient(); - const osConfigZonalServiceClient = new osconfig.OsConfigZonalServiceClient(); -} - -main(); diff --git a/packages/google-cloud-osconfig/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-osconfig/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0c1f394ca20a..000000000000 --- a/packages/google-cloud-osconfig/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OsConfigServiceClient, OsConfigZonalServiceClient} from '@google-cloud/os-config'; - -// check that the client class type name can be used -function doStuffWithOsConfigServiceClient(client: OsConfigServiceClient) { - client.close(); -} -function doStuffWithOsConfigZonalServiceClient(client: OsConfigZonalServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const osConfigServiceClient = new OsConfigServiceClient(); - doStuffWithOsConfigServiceClient(osConfigServiceClient); - // check that the client instance can be created - const osConfigZonalServiceClient = new OsConfigZonalServiceClient(); - doStuffWithOsConfigZonalServiceClient(osConfigZonalServiceClient); -} - -main(); diff --git a/packages/google-cloud-osconfig/system-test/install.ts b/packages/google-cloud-osconfig/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-osconfig/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-oslogin/package.json b/packages/google-cloud-oslogin/package.json index ce0346e79b01..63769624b2d7 100644 --- a/packages/google-cloud-oslogin/package.json +++ b/packages/google-cloud-oslogin/package.json @@ -46,7 +46,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -65,7 +65,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.js b/packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 031dcf76e9fc..000000000000 --- a/packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 oslogin = require('@google-cloud/os-login'); - -function main() { - const osLoginServiceClient = new oslogin.OsLoginServiceClient(); -} - -main(); diff --git a/packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index eb86084d8cf7..000000000000 --- a/packages/google-cloud-oslogin/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OsLoginServiceClient} from '@google-cloud/os-login'; - -// check that the client class type name can be used -function doStuffWithOsLoginServiceClient(client: OsLoginServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const osLoginServiceClient = new OsLoginServiceClient(); - doStuffWithOsLoginServiceClient(osLoginServiceClient); -} - -main(); diff --git a/packages/google-cloud-oslogin/system-test/install.ts b/packages/google-cloud-oslogin/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-oslogin/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-parallelstore/package.json b/packages/google-cloud-parallelstore/package.json index ec8e1bf674aa..d6857da6a76b 100644 --- a/packages/google-cloud-parallelstore/package.json +++ b/packages/google-cloud-parallelstore/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-parallelstore/system-test/fixtures/sample/src/index.js b/packages/google-cloud-parallelstore/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3fcc7ddf2807..000000000000 --- a/packages/google-cloud-parallelstore/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 parallelstore = require('@google-cloud/parallelstore'); - -function main() { - const parallelstoreClient = new parallelstore.ParallelstoreClient(); -} - -main(); diff --git a/packages/google-cloud-parallelstore/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-parallelstore/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4ee56c669f69..000000000000 --- a/packages/google-cloud-parallelstore/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ParallelstoreClient} from '@google-cloud/parallelstore'; - -// check that the client class type name can be used -function doStuffWithParallelstoreClient(client: ParallelstoreClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const parallelstoreClient = new ParallelstoreClient(); - doStuffWithParallelstoreClient(parallelstoreClient); -} - -main(); diff --git a/packages/google-cloud-parallelstore/system-test/install.ts b/packages/google-cloud-parallelstore/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-parallelstore/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-parametermanager/package.json b/packages/google-cloud-parametermanager/package.json index bc9e66066a36..c719fa5eb65b 100644 --- a/packages/google-cloud-parametermanager/package.json +++ b/packages/google-cloud-parametermanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-parametermanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-parametermanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7781c882b1cf..000000000000 --- a/packages/google-cloud-parametermanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 parametermanager = require('@google-cloud/parametermanager'); - -function main() { - const parameterManagerClient = new parametermanager.ParameterManagerClient(); -} - -main(); diff --git a/packages/google-cloud-parametermanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-parametermanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 623d12340749..000000000000 --- a/packages/google-cloud-parametermanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ParameterManagerClient} from '@google-cloud/parametermanager'; - -// check that the client class type name can be used -function doStuffWithParameterManagerClient(client: ParameterManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const parameterManagerClient = new ParameterManagerClient(); - doStuffWithParameterManagerClient(parameterManagerClient); -} - -main(); diff --git a/packages/google-cloud-parametermanager/system-test/install.ts b/packages/google-cloud-parametermanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-parametermanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-phishingprotection/package.json b/packages/google-cloud-phishingprotection/package.json index c623b4afe2f9..fa12181f930c 100644 --- a/packages/google-cloud-phishingprotection/package.json +++ b/packages/google-cloud-phishingprotection/package.json @@ -44,7 +44,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, @@ -61,7 +60,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "license": "Apache-2.0", diff --git a/packages/google-cloud-phishingprotection/system-test/fixtures/sample/src/index.js b/packages/google-cloud-phishingprotection/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 910049c17fb5..000000000000 --- a/packages/google-cloud-phishingprotection/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 phishingprotection = require('@google-cloud/phishing-protection'); - -function main() { - const phishingProtectionServiceV1Beta1Client = new phishingprotection.PhishingProtectionServiceV1Beta1Client(); -} - -main(); diff --git a/packages/google-cloud-phishingprotection/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-phishingprotection/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 442794a7667a..000000000000 --- a/packages/google-cloud-phishingprotection/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PhishingProtectionServiceV1Beta1Client} from '@google-cloud/phishing-protection'; - -// check that the client class type name can be used -function doStuffWithPhishingProtectionServiceV1Beta1Client(client: PhishingProtectionServiceV1Beta1Client) { - client.close(); -} - -function main() { - // check that the client instance can be created - const phishingProtectionServiceV1Beta1Client = new PhishingProtectionServiceV1Beta1Client(); - doStuffWithPhishingProtectionServiceV1Beta1Client(phishingProtectionServiceV1Beta1Client); -} - -main(); diff --git a/packages/google-cloud-phishingprotection/system-test/install.ts b/packages/google-cloud-phishingprotection/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-phishingprotection/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-policysimulator/package.json b/packages/google-cloud-policysimulator/package.json index f6afe35edad0..f4fb8d80b2cd 100644 --- a/packages/google-cloud-policysimulator/package.json +++ b/packages/google-cloud-policysimulator/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-policysimulator/system-test/fixtures/sample/src/index.js b/packages/google-cloud-policysimulator/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 286413506671..000000000000 --- a/packages/google-cloud-policysimulator/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 policysimulator = require('@google-cloud/policysimulator'); - -function main() { - const orgPolicyViolationsPreviewServiceClient = new policysimulator.OrgPolicyViolationsPreviewServiceClient(); - const simulatorClient = new policysimulator.SimulatorClient(); -} - -main(); diff --git a/packages/google-cloud-policysimulator/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-policysimulator/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 5696ee277926..000000000000 --- a/packages/google-cloud-policysimulator/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OrgPolicyViolationsPreviewServiceClient, SimulatorClient} from '@google-cloud/policysimulator'; - -// check that the client class type name can be used -function doStuffWithOrgPolicyViolationsPreviewServiceClient(client: OrgPolicyViolationsPreviewServiceClient) { - client.close(); -} -function doStuffWithSimulatorClient(client: SimulatorClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const orgPolicyViolationsPreviewServiceClient = new OrgPolicyViolationsPreviewServiceClient(); - doStuffWithOrgPolicyViolationsPreviewServiceClient(orgPolicyViolationsPreviewServiceClient); - // check that the client instance can be created - const simulatorClient = new SimulatorClient(); - doStuffWithSimulatorClient(simulatorClient); -} - -main(); diff --git a/packages/google-cloud-policysimulator/system-test/install.ts b/packages/google-cloud-policysimulator/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-policysimulator/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-policytroubleshooter-iam/package.json b/packages/google-cloud-policytroubleshooter-iam/package.json index 43d2166ee720..843842c65856 100644 --- a/packages/google-cloud-policytroubleshooter-iam/package.json +++ b/packages/google-cloud-policytroubleshooter-iam/package.json @@ -37,7 +37,7 @@ "lint": "gts check", "prelint": "cd samples; npm link ../; npm i", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "test": "c8 mocha build/test" }, @@ -56,7 +56,6 @@ "jsdoc-region-tag": "^3.0.0", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-policytroubleshooter-iam/system-test/fixtures/sample/src/index.js b/packages/google-cloud-policytroubleshooter-iam/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 22a82848d22d..000000000000 --- a/packages/google-cloud-policytroubleshooter-iam/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 iam = require('@google-cloud/policy-troubleshooter-iam'); - -function main() { - const policyTroubleshooterClient = new iam.PolicyTroubleshooterClient(); -} - -main(); diff --git a/packages/google-cloud-policytroubleshooter-iam/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-policytroubleshooter-iam/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ff878a9127df..000000000000 --- a/packages/google-cloud-policytroubleshooter-iam/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PolicyTroubleshooterClient} from '@google-cloud/policy-troubleshooter-iam'; - -// check that the client class type name can be used -function doStuffWithPolicyTroubleshooterClient(client: PolicyTroubleshooterClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const policyTroubleshooterClient = new PolicyTroubleshooterClient(); - doStuffWithPolicyTroubleshooterClient(policyTroubleshooterClient); -} - -main(); diff --git a/packages/google-cloud-policytroubleshooter-iam/system-test/install.ts b/packages/google-cloud-policytroubleshooter-iam/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-policytroubleshooter-iam/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-policytroubleshooter/package.json b/packages/google-cloud-policytroubleshooter/package.json index a93e968f7b83..d155f18e8d8a 100644 --- a/packages/google-cloud-policytroubleshooter/package.json +++ b/packages/google-cloud-policytroubleshooter/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-policytroubleshooter/system-test/fixtures/sample/src/index.js b/packages/google-cloud-policytroubleshooter/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 887609e20ec5..000000000000 --- a/packages/google-cloud-policytroubleshooter/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 policytroubleshooter = require('@google-cloud/policy-troubleshooter'); - -function main() { - const iamCheckerClient = new policytroubleshooter.IamCheckerClient(); -} - -main(); diff --git a/packages/google-cloud-policytroubleshooter/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-policytroubleshooter/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 81f2f97daca1..000000000000 --- a/packages/google-cloud-policytroubleshooter/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {IamCheckerClient} from '@google-cloud/policy-troubleshooter'; - -// check that the client class type name can be used -function doStuffWithIamCheckerClient(client: IamCheckerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const iamCheckerClient = new IamCheckerClient(); - doStuffWithIamCheckerClient(iamCheckerClient); -} - -main(); diff --git a/packages/google-cloud-policytroubleshooter/system-test/install.ts b/packages/google-cloud-policytroubleshooter/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-policytroubleshooter/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-privatecatalog/package.json b/packages/google-cloud-privatecatalog/package.json index 3d4c6b1a04a9..7463e9c9d463 100644 --- a/packages/google-cloud-privatecatalog/package.json +++ b/packages/google-cloud-privatecatalog/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-privatecatalog/system-test/fixtures/sample/src/index.js b/packages/google-cloud-privatecatalog/system-test/fixtures/sample/src/index.js deleted file mode 100644 index d948947f38c5..000000000000 --- a/packages/google-cloud-privatecatalog/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 privatecatalog = require('@google-cloud/private-catalog'); - -function main() { - const privateCatalogClient = new privatecatalog.PrivateCatalogClient(); -} - -main(); diff --git a/packages/google-cloud-privatecatalog/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-privatecatalog/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 44841f1a294d..000000000000 --- a/packages/google-cloud-privatecatalog/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PrivateCatalogClient} from '@google-cloud/private-catalog'; - -// check that the client class type name can be used -function doStuffWithPrivateCatalogClient(client: PrivateCatalogClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const privateCatalogClient = new PrivateCatalogClient(); - doStuffWithPrivateCatalogClient(privateCatalogClient); -} - -main(); diff --git a/packages/google-cloud-privatecatalog/system-test/install.ts b/packages/google-cloud-privatecatalog/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-privatecatalog/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-privilegedaccessmanager/package.json b/packages/google-cloud-privilegedaccessmanager/package.json index 4a5fb8cdefb0..c49327e5c530 100644 --- a/packages/google-cloud-privilegedaccessmanager/package.json +++ b/packages/google-cloud-privilegedaccessmanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-privilegedaccessmanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-privilegedaccessmanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1a46255303e1..000000000000 --- a/packages/google-cloud-privilegedaccessmanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 privilegedaccessmanager = require('@google-cloud/privilegedaccessmanager'); - -function main() { - const privilegedAccessManagerClient = new privilegedaccessmanager.PrivilegedAccessManagerClient(); -} - -main(); diff --git a/packages/google-cloud-privilegedaccessmanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-privilegedaccessmanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 41b8b9e6b01b..000000000000 --- a/packages/google-cloud-privilegedaccessmanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PrivilegedAccessManagerClient} from '@google-cloud/privilegedaccessmanager'; - -// check that the client class type name can be used -function doStuffWithPrivilegedAccessManagerClient(client: PrivilegedAccessManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const privilegedAccessManagerClient = new PrivilegedAccessManagerClient(); - doStuffWithPrivilegedAccessManagerClient(privilegedAccessManagerClient); -} - -main(); diff --git a/packages/google-cloud-privilegedaccessmanager/system-test/install.ts b/packages/google-cloud-privilegedaccessmanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-privilegedaccessmanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-rapidmigrationassessment/package.json b/packages/google-cloud-rapidmigrationassessment/package.json index b5e3a35239a3..70091b7cb539 100644 --- a/packages/google-cloud-rapidmigrationassessment/package.json +++ b/packages/google-cloud-rapidmigrationassessment/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-rapidmigrationassessment/system-test/fixtures/sample/src/index.js b/packages/google-cloud-rapidmigrationassessment/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1838f13553be..000000000000 --- a/packages/google-cloud-rapidmigrationassessment/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 rapidmigrationassessment = require('@google-cloud/rapidmigrationassessment'); - -function main() { - const rapidMigrationAssessmentClient = new rapidmigrationassessment.RapidMigrationAssessmentClient(); -} - -main(); diff --git a/packages/google-cloud-rapidmigrationassessment/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-rapidmigrationassessment/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e893eb21110c..000000000000 --- a/packages/google-cloud-rapidmigrationassessment/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {RapidMigrationAssessmentClient} from '@google-cloud/rapidmigrationassessment'; - -// check that the client class type name can be used -function doStuffWithRapidMigrationAssessmentClient(client: RapidMigrationAssessmentClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const rapidMigrationAssessmentClient = new RapidMigrationAssessmentClient(); - doStuffWithRapidMigrationAssessmentClient(rapidMigrationAssessmentClient); -} - -main(); diff --git a/packages/google-cloud-rapidmigrationassessment/system-test/install.ts b/packages/google-cloud-rapidmigrationassessment/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-rapidmigrationassessment/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-recaptchaenterprise/package.json b/packages/google-cloud-recaptchaenterprise/package.json index 8cd9cb298989..c48c563c5496 100644 --- a/packages/google-cloud-recaptchaenterprise/package.json +++ b/packages/google-cloud-recaptchaenterprise/package.json @@ -44,7 +44,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, @@ -61,7 +60,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "license": "Apache-2.0", diff --git a/packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.js b/packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 660921bc5771..000000000000 --- a/packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'); - -function main() { - const recaptchaEnterpriseServiceClient = new recaptchaenterprise.RecaptchaEnterpriseServiceClient(); -} - -main(); diff --git a/packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 866059c40fa5..000000000000 --- a/packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {RecaptchaEnterpriseServiceClient} from '@google-cloud/recaptcha-enterprise'; - -// check that the client class type name can be used -function doStuffWithRecaptchaEnterpriseServiceClient(client: RecaptchaEnterpriseServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const recaptchaEnterpriseServiceClient = new RecaptchaEnterpriseServiceClient(); - doStuffWithRecaptchaEnterpriseServiceClient(recaptchaEnterpriseServiceClient); -} - -main(); diff --git a/packages/google-cloud-recaptchaenterprise/system-test/install.ts b/packages/google-cloud-recaptchaenterprise/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-recaptchaenterprise/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-recommender/package.json b/packages/google-cloud-recommender/package.json index aaeeea8c4587..cdb0eb4b22f9 100644 --- a/packages/google-cloud-recommender/package.json +++ b/packages/google-cloud-recommender/package.json @@ -28,7 +28,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -47,7 +47,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-recommender/system-test/fixtures/sample/src/index.js b/packages/google-cloud-recommender/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9107d15d9af6..000000000000 --- a/packages/google-cloud-recommender/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 recommender = require('@google-cloud/recommender'); - -function main() { - const recommenderClient = new recommender.RecommenderClient(); -} - -main(); diff --git a/packages/google-cloud-recommender/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-recommender/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 243a58b24954..000000000000 --- a/packages/google-cloud-recommender/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {RecommenderClient} from '@google-cloud/recommender'; - -// check that the client class type name can be used -function doStuffWithRecommenderClient(client: RecommenderClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const recommenderClient = new RecommenderClient(); - doStuffWithRecommenderClient(recommenderClient); -} - -main(); diff --git a/packages/google-cloud-recommender/system-test/install.ts b/packages/google-cloud-recommender/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-recommender/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-redis-cluster/package.json b/packages/google-cloud-redis-cluster/package.json index 20f80ab8711d..6970468feb26 100644 --- a/packages/google-cloud-redis-cluster/package.json +++ b/packages/google-cloud-redis-cluster/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-redis-cluster/system-test/fixtures/sample/src/index.js b/packages/google-cloud-redis-cluster/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 95f0055433c1..000000000000 --- a/packages/google-cloud-redis-cluster/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cluster = require('@google-cloud/redis-cluster'); - -function main() { - const cloudRedisClusterClient = new cluster.CloudRedisClusterClient(); -} - -main(); diff --git a/packages/google-cloud-redis-cluster/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-redis-cluster/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 96e2bfaee5ed..000000000000 --- a/packages/google-cloud-redis-cluster/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudRedisClusterClient} from '@google-cloud/redis-cluster'; - -// check that the client class type name can be used -function doStuffWithCloudRedisClusterClient(client: CloudRedisClusterClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudRedisClusterClient = new CloudRedisClusterClient(); - doStuffWithCloudRedisClusterClient(cloudRedisClusterClient); -} - -main(); diff --git a/packages/google-cloud-redis-cluster/system-test/install.ts b/packages/google-cloud-redis-cluster/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-redis-cluster/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-redis/package.json b/packages/google-cloud-redis/package.json index ab65a4e8022f..03c6ac33996b 100644 --- a/packages/google-cloud-redis/package.json +++ b/packages/google-cloud-redis/package.json @@ -64,7 +64,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-redis/system-test/fixtures/sample/src/index.js b/packages/google-cloud-redis/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 952b45458f78..000000000000 --- a/packages/google-cloud-redis/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 redis = require('@google-cloud/redis'); - -function main() { - const cloudRedisClient = new redis.CloudRedisClient(); -} - -main(); diff --git a/packages/google-cloud-redis/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-redis/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index bb80287bc985..000000000000 --- a/packages/google-cloud-redis/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudRedisClient} from '@google-cloud/redis'; - -// check that the client class type name can be used -function doStuffWithCloudRedisClient(client: CloudRedisClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudRedisClient = new CloudRedisClient(); - doStuffWithCloudRedisClient(cloudRedisClient); -} - -main(); diff --git a/packages/google-cloud-redis/system-test/install.ts b/packages/google-cloud-redis/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-redis/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-resourcemanager/package.json b/packages/google-cloud-resourcemanager/package.json index 513f77b6a8b3..469134f34f8f 100644 --- a/packages/google-cloud-resourcemanager/package.json +++ b/packages/google-cloud-resourcemanager/package.json @@ -44,7 +44,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-resourcemanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-resourcemanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index edd5ae6124a6..000000000000 --- a/packages/google-cloud-resourcemanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 resourcemanager = require('@google-cloud/resource-manager'); - -function main() { - const foldersClient = new resourcemanager.FoldersClient(); - const organizationsClient = new resourcemanager.OrganizationsClient(); - const projectsClient = new resourcemanager.ProjectsClient(); - const tagBindingsClient = new resourcemanager.TagBindingsClient(); - const tagHoldsClient = new resourcemanager.TagHoldsClient(); - const tagKeysClient = new resourcemanager.TagKeysClient(); - const tagValuesClient = new resourcemanager.TagValuesClient(); -} - -main(); diff --git a/packages/google-cloud-resourcemanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-resourcemanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 562edba42c22..000000000000 --- a/packages/google-cloud-resourcemanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {FoldersClient, OrganizationsClient, ProjectsClient, TagBindingsClient, TagHoldsClient, TagKeysClient, TagValuesClient} from '@google-cloud/resource-manager'; - -// check that the client class type name can be used -function doStuffWithFoldersClient(client: FoldersClient) { - client.close(); -} -function doStuffWithOrganizationsClient(client: OrganizationsClient) { - client.close(); -} -function doStuffWithProjectsClient(client: ProjectsClient) { - client.close(); -} -function doStuffWithTagBindingsClient(client: TagBindingsClient) { - client.close(); -} -function doStuffWithTagHoldsClient(client: TagHoldsClient) { - client.close(); -} -function doStuffWithTagKeysClient(client: TagKeysClient) { - client.close(); -} -function doStuffWithTagValuesClient(client: TagValuesClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const foldersClient = new FoldersClient(); - doStuffWithFoldersClient(foldersClient); - // check that the client instance can be created - const organizationsClient = new OrganizationsClient(); - doStuffWithOrganizationsClient(organizationsClient); - // check that the client instance can be created - const projectsClient = new ProjectsClient(); - doStuffWithProjectsClient(projectsClient); - // check that the client instance can be created - const tagBindingsClient = new TagBindingsClient(); - doStuffWithTagBindingsClient(tagBindingsClient); - // check that the client instance can be created - const tagHoldsClient = new TagHoldsClient(); - doStuffWithTagHoldsClient(tagHoldsClient); - // check that the client instance can be created - const tagKeysClient = new TagKeysClient(); - doStuffWithTagKeysClient(tagKeysClient); - // check that the client instance can be created - const tagValuesClient = new TagValuesClient(); - doStuffWithTagValuesClient(tagValuesClient); -} - -main(); diff --git a/packages/google-cloud-resourcemanager/system-test/install.ts b/packages/google-cloud-resourcemanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-resourcemanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-retail/package.json b/packages/google-cloud-retail/package.json index eb54aff7be04..f520cf1df28a 100644 --- a/packages/google-cloud-retail/package.json +++ b/packages/google-cloud-retail/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-retail/system-test/fixtures/sample/src/index.js b/packages/google-cloud-retail/system-test/fixtures/sample/src/index.js deleted file mode 100644 index e56ee02aee4b..000000000000 --- a/packages/google-cloud-retail/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 retail = require('@google-cloud/retail'); - -function main() { - const analyticsServiceClient = new retail.AnalyticsServiceClient(); - const catalogServiceClient = new retail.CatalogServiceClient(); - const completionServiceClient = new retail.CompletionServiceClient(); - const controlServiceClient = new retail.ControlServiceClient(); - const conversationalSearchServiceClient = new retail.ConversationalSearchServiceClient(); - const generativeQuestionServiceClient = new retail.GenerativeQuestionServiceClient(); - const modelServiceClient = new retail.ModelServiceClient(); - const predictionServiceClient = new retail.PredictionServiceClient(); - const productServiceClient = new retail.ProductServiceClient(); - const projectServiceClient = new retail.ProjectServiceClient(); - const searchServiceClient = new retail.SearchServiceClient(); - const servingConfigServiceClient = new retail.ServingConfigServiceClient(); - const userEventServiceClient = new retail.UserEventServiceClient(); -} - -main(); diff --git a/packages/google-cloud-retail/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-retail/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 84490713b79c..000000000000 --- a/packages/google-cloud-retail/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AnalyticsServiceClient, CatalogServiceClient, CompletionServiceClient, ControlServiceClient, ConversationalSearchServiceClient, GenerativeQuestionServiceClient, ModelServiceClient, PredictionServiceClient, ProductServiceClient, ProjectServiceClient, SearchServiceClient, ServingConfigServiceClient, UserEventServiceClient} from '@google-cloud/retail'; - -// check that the client class type name can be used -function doStuffWithAnalyticsServiceClient(client: AnalyticsServiceClient) { - client.close(); -} -function doStuffWithCatalogServiceClient(client: CatalogServiceClient) { - client.close(); -} -function doStuffWithCompletionServiceClient(client: CompletionServiceClient) { - client.close(); -} -function doStuffWithControlServiceClient(client: ControlServiceClient) { - client.close(); -} -function doStuffWithConversationalSearchServiceClient(client: ConversationalSearchServiceClient) { - client.close(); -} -function doStuffWithGenerativeQuestionServiceClient(client: GenerativeQuestionServiceClient) { - client.close(); -} -function doStuffWithModelServiceClient(client: ModelServiceClient) { - client.close(); -} -function doStuffWithPredictionServiceClient(client: PredictionServiceClient) { - client.close(); -} -function doStuffWithProductServiceClient(client: ProductServiceClient) { - client.close(); -} -function doStuffWithProjectServiceClient(client: ProjectServiceClient) { - client.close(); -} -function doStuffWithSearchServiceClient(client: SearchServiceClient) { - client.close(); -} -function doStuffWithServingConfigServiceClient(client: ServingConfigServiceClient) { - client.close(); -} -function doStuffWithUserEventServiceClient(client: UserEventServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const analyticsServiceClient = new AnalyticsServiceClient(); - doStuffWithAnalyticsServiceClient(analyticsServiceClient); - // check that the client instance can be created - const catalogServiceClient = new CatalogServiceClient(); - doStuffWithCatalogServiceClient(catalogServiceClient); - // check that the client instance can be created - const completionServiceClient = new CompletionServiceClient(); - doStuffWithCompletionServiceClient(completionServiceClient); - // check that the client instance can be created - const controlServiceClient = new ControlServiceClient(); - doStuffWithControlServiceClient(controlServiceClient); - // check that the client instance can be created - const conversationalSearchServiceClient = new ConversationalSearchServiceClient(); - doStuffWithConversationalSearchServiceClient(conversationalSearchServiceClient); - // check that the client instance can be created - const generativeQuestionServiceClient = new GenerativeQuestionServiceClient(); - doStuffWithGenerativeQuestionServiceClient(generativeQuestionServiceClient); - // check that the client instance can be created - const modelServiceClient = new ModelServiceClient(); - doStuffWithModelServiceClient(modelServiceClient); - // check that the client instance can be created - const predictionServiceClient = new PredictionServiceClient(); - doStuffWithPredictionServiceClient(predictionServiceClient); - // check that the client instance can be created - const productServiceClient = new ProductServiceClient(); - doStuffWithProductServiceClient(productServiceClient); - // check that the client instance can be created - const projectServiceClient = new ProjectServiceClient(); - doStuffWithProjectServiceClient(projectServiceClient); - // check that the client instance can be created - const searchServiceClient = new SearchServiceClient(); - doStuffWithSearchServiceClient(searchServiceClient); - // check that the client instance can be created - const servingConfigServiceClient = new ServingConfigServiceClient(); - doStuffWithServingConfigServiceClient(servingConfigServiceClient); - // check that the client instance can be created - const userEventServiceClient = new UserEventServiceClient(); - doStuffWithUserEventServiceClient(userEventServiceClient); -} - -main(); diff --git a/packages/google-cloud-retail/system-test/install.ts b/packages/google-cloud-retail/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-retail/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-run/package.json b/packages/google-cloud-run/package.json index 2bedef3bfe94..545486f4344b 100644 --- a/packages/google-cloud-run/package.json +++ b/packages/google-cloud-run/package.json @@ -36,7 +36,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -55,7 +55,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-run/system-test/fixtures/sample/src/index.js b/packages/google-cloud-run/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b75bcd5378f1..000000000000 --- a/packages/google-cloud-run/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 run = require('@google-cloud/run'); - -function main() { - const buildsClient = new run.BuildsClient(); - const executionsClient = new run.ExecutionsClient(); - const instancesClient = new run.InstancesClient(); - const jobsClient = new run.JobsClient(); - const revisionsClient = new run.RevisionsClient(); - const servicesClient = new run.ServicesClient(); - const tasksClient = new run.TasksClient(); - const workerPoolsClient = new run.WorkerPoolsClient(); -} - -main(); diff --git a/packages/google-cloud-run/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-run/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index bdf1cc11f53b..000000000000 --- a/packages/google-cloud-run/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {BuildsClient, ExecutionsClient, InstancesClient, JobsClient, RevisionsClient, ServicesClient, TasksClient, WorkerPoolsClient} from '@google-cloud/run'; - -// check that the client class type name can be used -function doStuffWithBuildsClient(client: BuildsClient) { - client.close(); -} -function doStuffWithExecutionsClient(client: ExecutionsClient) { - client.close(); -} -function doStuffWithInstancesClient(client: InstancesClient) { - client.close(); -} -function doStuffWithJobsClient(client: JobsClient) { - client.close(); -} -function doStuffWithRevisionsClient(client: RevisionsClient) { - client.close(); -} -function doStuffWithServicesClient(client: ServicesClient) { - client.close(); -} -function doStuffWithTasksClient(client: TasksClient) { - client.close(); -} -function doStuffWithWorkerPoolsClient(client: WorkerPoolsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const buildsClient = new BuildsClient(); - doStuffWithBuildsClient(buildsClient); - // check that the client instance can be created - const executionsClient = new ExecutionsClient(); - doStuffWithExecutionsClient(executionsClient); - // check that the client instance can be created - const instancesClient = new InstancesClient(); - doStuffWithInstancesClient(instancesClient); - // check that the client instance can be created - const jobsClient = new JobsClient(); - doStuffWithJobsClient(jobsClient); - // check that the client instance can be created - const revisionsClient = new RevisionsClient(); - doStuffWithRevisionsClient(revisionsClient); - // check that the client instance can be created - const servicesClient = new ServicesClient(); - doStuffWithServicesClient(servicesClient); - // check that the client instance can be created - const tasksClient = new TasksClient(); - doStuffWithTasksClient(tasksClient); - // check that the client instance can be created - const workerPoolsClient = new WorkerPoolsClient(); - doStuffWithWorkerPoolsClient(workerPoolsClient); -} - -main(); diff --git a/packages/google-cloud-run/system-test/install.ts b/packages/google-cloud-run/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-run/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/package.json b/packages/google-cloud-saasplatform-saasservicemgmt/package.json index a33abef9aa42..997eba6d0d77 100644 --- a/packages/google-cloud-saasplatform-saasservicemgmt/package.json +++ b/packages/google-cloud-saasplatform-saasservicemgmt/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/system-test/fixtures/sample/src/index.js b/packages/google-cloud-saasplatform-saasservicemgmt/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 556e42048599..000000000000 --- a/packages/google-cloud-saasplatform-saasservicemgmt/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 saasservicemgmt = require('@google-cloud/saasservicemgmt'); - -function main() { - const saasDeploymentsClient = new saasservicemgmt.SaasDeploymentsClient(); - const saasRolloutsClient = new saasservicemgmt.SaasRolloutsClient(); -} - -main(); diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-saasplatform-saasservicemgmt/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 537136a11470..000000000000 --- a/packages/google-cloud-saasplatform-saasservicemgmt/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SaasDeploymentsClient, SaasRolloutsClient} from '@google-cloud/saasservicemgmt'; - -// check that the client class type name can be used -function doStuffWithSaasDeploymentsClient(client: SaasDeploymentsClient) { - client.close(); -} -function doStuffWithSaasRolloutsClient(client: SaasRolloutsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const saasDeploymentsClient = new SaasDeploymentsClient(); - doStuffWithSaasDeploymentsClient(saasDeploymentsClient); - // check that the client instance can be created - const saasRolloutsClient = new SaasRolloutsClient(); - doStuffWithSaasRolloutsClient(saasRolloutsClient); -} - -main(); diff --git a/packages/google-cloud-saasplatform-saasservicemgmt/system-test/install.ts b/packages/google-cloud-saasplatform-saasservicemgmt/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-saasplatform-saasservicemgmt/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-scheduler/package.json b/packages/google-cloud-scheduler/package.json index e57e0c20e6b9..a151558d1507 100644 --- a/packages/google-cloud-scheduler/package.json +++ b/packages/google-cloud-scheduler/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-scheduler/system-test/fixtures/sample/src/index.js b/packages/google-cloud-scheduler/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b9459248ff03..000000000000 --- a/packages/google-cloud-scheduler/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 scheduler = require('@google-cloud/scheduler'); - -function main() { - const cloudSchedulerClient = new scheduler.CloudSchedulerClient(); -} - -main(); diff --git a/packages/google-cloud-scheduler/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-scheduler/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e2cf6fae4a39..000000000000 --- a/packages/google-cloud-scheduler/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudSchedulerClient} from '@google-cloud/scheduler'; - -// check that the client class type name can be used -function doStuffWithCloudSchedulerClient(client: CloudSchedulerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudSchedulerClient = new CloudSchedulerClient(); - doStuffWithCloudSchedulerClient(cloudSchedulerClient); -} - -main(); diff --git a/packages/google-cloud-scheduler/system-test/install.ts b/packages/google-cloud-scheduler/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-scheduler/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-secretmanager/package.json b/packages/google-cloud-secretmanager/package.json index 7e0701fb6e9e..e34597f9a14f 100644 --- a/packages/google-cloud-secretmanager/package.json +++ b/packages/google-cloud-secretmanager/package.json @@ -36,7 +36,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -55,7 +55,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-secretmanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-secretmanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index e43a76e5ecec..000000000000 --- a/packages/google-cloud-secretmanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 secretmanager = require('@google-cloud/secret-manager'); - -function main() { - const secretManagerServiceClient = new secretmanager.SecretManagerServiceClient(); -} - -main(); diff --git a/packages/google-cloud-secretmanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-secretmanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6721f3da1e09..000000000000 --- a/packages/google-cloud-secretmanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SecretManagerServiceClient} from '@google-cloud/secret-manager'; - -// check that the client class type name can be used -function doStuffWithSecretManagerServiceClient(client: SecretManagerServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const secretManagerServiceClient = new SecretManagerServiceClient(); - doStuffWithSecretManagerServiceClient(secretManagerServiceClient); -} - -main(); diff --git a/packages/google-cloud-secretmanager/system-test/install.ts b/packages/google-cloud-secretmanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-secretmanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-securesourcemanager/package.json b/packages/google-cloud-securesourcemanager/package.json index c75dc068c767..fd6d45d125e2 100644 --- a/packages/google-cloud-securesourcemanager/package.json +++ b/packages/google-cloud-securesourcemanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-securesourcemanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-securesourcemanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 21579989e2d3..000000000000 --- a/packages/google-cloud-securesourcemanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 securesourcemanager = require('@google-cloud/securesourcemanager'); - -function main() { - const secureSourceManagerClient = new securesourcemanager.SecureSourceManagerClient(); -} - -main(); diff --git a/packages/google-cloud-securesourcemanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-securesourcemanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 11d78b7e3a3d..000000000000 --- a/packages/google-cloud-securesourcemanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SecureSourceManagerClient} from '@google-cloud/securesourcemanager'; - -// check that the client class type name can be used -function doStuffWithSecureSourceManagerClient(client: SecureSourceManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const secureSourceManagerClient = new SecureSourceManagerClient(); - doStuffWithSecureSourceManagerClient(secureSourceManagerClient); -} - -main(); diff --git a/packages/google-cloud-securesourcemanager/system-test/install.ts b/packages/google-cloud-securesourcemanager/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-securesourcemanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-security-privateca/package.json b/packages/google-cloud-security-privateca/package.json index 1fdb207ceb98..57aa63580310 100644 --- a/packages/google-cloud-security-privateca/package.json +++ b/packages/google-cloud-security-privateca/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-security-privateca/system-test/fixtures/sample/src/index.js b/packages/google-cloud-security-privateca/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1f15aaa53805..000000000000 --- a/packages/google-cloud-security-privateca/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 privateca = require('@google-cloud/security-private-ca'); - -function main() { - const certificateAuthorityServiceClient = new privateca.CertificateAuthorityServiceClient(); -} - -main(); diff --git a/packages/google-cloud-security-privateca/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-security-privateca/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index dc7630355959..000000000000 --- a/packages/google-cloud-security-privateca/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CertificateAuthorityServiceClient} from '@google-cloud/security-private-ca'; - -// check that the client class type name can be used -function doStuffWithCertificateAuthorityServiceClient(client: CertificateAuthorityServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const certificateAuthorityServiceClient = new CertificateAuthorityServiceClient(); - doStuffWithCertificateAuthorityServiceClient(certificateAuthorityServiceClient); -} - -main(); diff --git a/packages/google-cloud-security-privateca/system-test/install.ts b/packages/google-cloud-security-privateca/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-security-privateca/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-security-publicca/package.json b/packages/google-cloud-security-publicca/package.json index 57f8e77c6efe..0e87a0dd0490 100644 --- a/packages/google-cloud-security-publicca/package.json +++ b/packages/google-cloud-security-publicca/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-security-publicca/system-test/fixtures/sample/src/index.js b/packages/google-cloud-security-publicca/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 15a4699112bc..000000000000 --- a/packages/google-cloud-security-publicca/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 publicca = require('@google-cloud/publicca'); - -function main() { - const publicCertificateAuthorityServiceClient = new publicca.PublicCertificateAuthorityServiceClient(); -} - -main(); diff --git a/packages/google-cloud-security-publicca/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-security-publicca/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index addf9026ab3b..000000000000 --- a/packages/google-cloud-security-publicca/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PublicCertificateAuthorityServiceClient} from '@google-cloud/publicca'; - -// check that the client class type name can be used -function doStuffWithPublicCertificateAuthorityServiceClient(client: PublicCertificateAuthorityServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const publicCertificateAuthorityServiceClient = new PublicCertificateAuthorityServiceClient(); - doStuffWithPublicCertificateAuthorityServiceClient(publicCertificateAuthorityServiceClient); -} - -main(); diff --git a/packages/google-cloud-security-publicca/system-test/install.ts b/packages/google-cloud-security-publicca/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-security-publicca/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-securitycenter/package.json b/packages/google-cloud-securitycenter/package.json index 81fff4d17495..7acb8bad547d 100644 --- a/packages/google-cloud-securitycenter/package.json +++ b/packages/google-cloud-securitycenter/package.json @@ -30,7 +30,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "keywords": [ @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-securitycenter/system-test/fixtures/sample/src/index.js b/packages/google-cloud-securitycenter/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1e447cf1ff6d..000000000000 --- a/packages/google-cloud-securitycenter/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 securitycenter = require('@google-cloud/security-center'); - -function main() { - const securityCenterClient = new securitycenter.SecurityCenterClient(); -} - -main(); diff --git a/packages/google-cloud-securitycenter/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-securitycenter/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index be57255cffa9..000000000000 --- a/packages/google-cloud-securitycenter/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SecurityCenterClient} from '@google-cloud/security-center'; - -// check that the client class type name can be used -function doStuffWithSecurityCenterClient(client: SecurityCenterClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const securityCenterClient = new SecurityCenterClient(); - doStuffWithSecurityCenterClient(securityCenterClient); -} - -main(); diff --git a/packages/google-cloud-securitycenter/system-test/install.ts b/packages/google-cloud-securitycenter/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-securitycenter/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-securitycentermanagement/package.json b/packages/google-cloud-securitycentermanagement/package.json index 664f8fef393f..a1f41d2b845b 100644 --- a/packages/google-cloud-securitycentermanagement/package.json +++ b/packages/google-cloud-securitycentermanagement/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-securitycentermanagement/system-test/fixtures/sample/src/index.js b/packages/google-cloud-securitycentermanagement/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9152e42745ae..000000000000 --- a/packages/google-cloud-securitycentermanagement/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 securitycentermanagement = require('@google-cloud/securitycentermanagement'); - -function main() { - const securityCenterManagementClient = new securitycentermanagement.SecurityCenterManagementClient(); -} - -main(); diff --git a/packages/google-cloud-securitycentermanagement/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-securitycentermanagement/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index eeefa85970cc..000000000000 --- a/packages/google-cloud-securitycentermanagement/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SecurityCenterManagementClient} from '@google-cloud/securitycentermanagement'; - -// check that the client class type name can be used -function doStuffWithSecurityCenterManagementClient(client: SecurityCenterManagementClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const securityCenterManagementClient = new SecurityCenterManagementClient(); - doStuffWithSecurityCenterManagementClient(securityCenterManagementClient); -} - -main(); diff --git a/packages/google-cloud-securitycentermanagement/system-test/install.ts b/packages/google-cloud-securitycentermanagement/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-securitycentermanagement/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-servicedirectory/package.json b/packages/google-cloud-servicedirectory/package.json index 38991f9a9c1d..e074f2128e1c 100644 --- a/packages/google-cloud-servicedirectory/package.json +++ b/packages/google-cloud-servicedirectory/package.json @@ -27,7 +27,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -47,7 +47,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-servicedirectory/system-test/fixtures/sample/src/index.js b/packages/google-cloud-servicedirectory/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 8aca23c91fec..000000000000 --- a/packages/google-cloud-servicedirectory/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 servicedirectory = require('@google-cloud/service-directory'); - -function main() { - const lookupServiceClient = new servicedirectory.LookupServiceClient(); - const registrationServiceClient = new servicedirectory.RegistrationServiceClient(); -} - -main(); diff --git a/packages/google-cloud-servicedirectory/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-servicedirectory/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6f22f95ace4b..000000000000 --- a/packages/google-cloud-servicedirectory/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LookupServiceClient, RegistrationServiceClient} from '@google-cloud/service-directory'; - -// check that the client class type name can be used -function doStuffWithLookupServiceClient(client: LookupServiceClient) { - client.close(); -} -function doStuffWithRegistrationServiceClient(client: RegistrationServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const lookupServiceClient = new LookupServiceClient(); - doStuffWithLookupServiceClient(lookupServiceClient); - // check that the client instance can be created - const registrationServiceClient = new RegistrationServiceClient(); - doStuffWithRegistrationServiceClient(registrationServiceClient); -} - -main(); diff --git a/packages/google-cloud-servicedirectory/system-test/install.ts b/packages/google-cloud-servicedirectory/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-servicedirectory/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-servicehealth/package.json b/packages/google-cloud-servicehealth/package.json index 7f4afdef7983..08afab80f8f9 100644 --- a/packages/google-cloud-servicehealth/package.json +++ b/packages/google-cloud-servicehealth/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-servicehealth/system-test/fixtures/sample/src/index.js b/packages/google-cloud-servicehealth/system-test/fixtures/sample/src/index.js deleted file mode 100644 index f87f04b00f92..000000000000 --- a/packages/google-cloud-servicehealth/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 servicehealth = require('@google-cloud/servicehealth'); - -function main() { - const serviceHealthClient = new servicehealth.ServiceHealthClient(); -} - -main(); diff --git a/packages/google-cloud-servicehealth/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-servicehealth/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 833cb312cc7d..000000000000 --- a/packages/google-cloud-servicehealth/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ServiceHealthClient} from '@google-cloud/servicehealth'; - -// check that the client class type name can be used -function doStuffWithServiceHealthClient(client: ServiceHealthClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const serviceHealthClient = new ServiceHealthClient(); - doStuffWithServiceHealthClient(serviceHealthClient); -} - -main(); diff --git a/packages/google-cloud-servicehealth/system-test/install.ts b/packages/google-cloud-servicehealth/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-servicehealth/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-shell/package.json b/packages/google-cloud-shell/package.json index 165a43be404d..478561a2df90 100644 --- a/packages/google-cloud-shell/package.json +++ b/packages/google-cloud-shell/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-shell/system-test/fixtures/sample/src/index.js b/packages/google-cloud-shell/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b0dbf120a508..000000000000 --- a/packages/google-cloud-shell/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 shell = require('@google-cloud/shell'); - -function main() { - const cloudShellServiceClient = new shell.CloudShellServiceClient(); -} - -main(); diff --git a/packages/google-cloud-shell/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-shell/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 802abedfe3b9..000000000000 --- a/packages/google-cloud-shell/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudShellServiceClient} from '@google-cloud/shell'; - -// check that the client class type name can be used -function doStuffWithCloudShellServiceClient(client: CloudShellServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudShellServiceClient = new CloudShellServiceClient(); - doStuffWithCloudShellServiceClient(cloudShellServiceClient); -} - -main(); diff --git a/packages/google-cloud-shell/system-test/install.ts b/packages/google-cloud-shell/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-shell/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index e3660fc2d2be..c31b9e7ae0de 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -70,7 +70,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-speech/system-test/fixtures/sample/src/index.js b/packages/google-cloud-speech/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 912bc1f6e8ae..000000000000 --- a/packages/google-cloud-speech/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 speech = require('@google-cloud/speech'); - -function main() { - const adaptationClient = new speech.AdaptationClient(); - const speechClient = new speech.SpeechClient(); -} - -main(); diff --git a/packages/google-cloud-speech/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-speech/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4c716fc7b0d6..000000000000 --- a/packages/google-cloud-speech/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AdaptationClient, SpeechClient} from '@google-cloud/speech'; - -// check that the client class type name can be used -function doStuffWithAdaptationClient(client: AdaptationClient) { - client.close(); -} -function doStuffWithSpeechClient(client: SpeechClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const adaptationClient = new AdaptationClient(); - doStuffWithAdaptationClient(adaptationClient); - // check that the client instance can be created - const speechClient = new SpeechClient(); - doStuffWithSpeechClient(speechClient); -} - -main(); diff --git a/packages/google-cloud-speech/system-test/install.ts b/packages/google-cloud-speech/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-speech/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-sql/package.json b/packages/google-cloud-sql/package.json index e7fc8484b20c..31f4420e64ef 100644 --- a/packages/google-cloud-sql/package.json +++ b/packages/google-cloud-sql/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -60,7 +60,6 @@ "long": "^5.2.3", "mocha": "^9.2.2", "null-loader": "^4.0.1", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "ts-loader": "^9.0.0", "typescript": "^5.8.3", diff --git a/packages/google-cloud-sql/system-test/fixtures/sample/src/index.js b/packages/google-cloud-sql/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 1f10ec98f429..000000000000 --- a/packages/google-cloud-sql/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 sql = require('@google-cloud/sql'); - -function main() { - const sqlBackupRunsServiceClient = new sql.SqlBackupRunsServiceClient(); - const sqlConnectServiceClient = new sql.SqlConnectServiceClient(); - const sqlDatabasesServiceClient = new sql.SqlDatabasesServiceClient(); - - const sqlFlagsServiceClient = new sql.SqlFlagsServiceClient(); - - const sqlInstancesServiceClient = new sql.SqlInstancesServiceClient(); - const sqlOperationsServiceClient = new sql.SqlOperationsServiceClient(); - - const sqlSslCertsServiceClient = new sql.SqlSslCertsServiceClient(); - const sqlTiersServiceClient = new sql.SqlTiersServiceClient(); - const sqlUsersServiceClient = new sql.SqlUsersServiceClient(); -} - -main(); diff --git a/packages/google-cloud-sql/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-sql/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 16cdfa870026..000000000000 --- a/packages/google-cloud-sql/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import { - SqlBackupRunsServiceClient, - SqlConnectServiceClient, - SqlDatabasesServiceClient, - SqlFlagsServiceClient, - SqlInstancesServiceClient, - SqlOperationsServiceClient, - SqlSslCertsServiceClient, - SqlTiersServiceClient, - SqlUsersServiceClient, -} from '@google-cloud/sql'; - -// check that the client class type name can be used - -function doStuffWithSqlBackupRunsServiceClient( - client: SqlBackupRunsServiceClient -) { - client.close(); -} -function doStuffWithSqlConnectServiceClient(client: SqlConnectServiceClient) { - client.close(); -} -function doStuffWithSqlDatabasesServiceClient( - client: SqlDatabasesServiceClient -) { - client.close(); -} - -function doStuffWithSqlFlagsServiceClient(client: SqlFlagsServiceClient) { - client.close(); -} - -function doStuffWithSqlInstancesServiceClient( - client: SqlInstancesServiceClient -) { - client.close(); -} -function doStuffWithSqlOperationsServiceClient( - client: SqlOperationsServiceClient -) { - client.close(); -} - -function doStuffWithSqlSslCertsServiceClient(client: SqlSslCertsServiceClient) { - client.close(); -} -function doStuffWithSqlTiersServiceClient(client: SqlTiersServiceClient) { - client.close(); -} -function doStuffWithSqlUsersServiceClient(client: SqlUsersServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - // check that the client instance can be created - const sqlBackupRunsServiceClient = new SqlBackupRunsServiceClient(); - doStuffWithSqlBackupRunsServiceClient(sqlBackupRunsServiceClient); - // check that the client instance can be created - const sqlConnectServiceClient = new SqlConnectServiceClient(); - doStuffWithSqlConnectServiceClient(sqlConnectServiceClient); - // check that the client instance can be created - const sqlDatabasesServiceClient = new SqlDatabasesServiceClient(); - doStuffWithSqlDatabasesServiceClient(sqlDatabasesServiceClient); - // check that the client instance can be created - - // check that the client instance can be created - const sqlFlagsServiceClient = new SqlFlagsServiceClient(); - doStuffWithSqlFlagsServiceClient(sqlFlagsServiceClient); - // check that the client instance can be created - - // check that the client instance can be created - - // check that the client instance can be created - const sqlInstancesServiceClient = new SqlInstancesServiceClient(); - doStuffWithSqlInstancesServiceClient(sqlInstancesServiceClient); - // check that the client instance can be created - const sqlOperationsServiceClient = new SqlOperationsServiceClient(); - doStuffWithSqlOperationsServiceClient(sqlOperationsServiceClient); - // check that the client instance can be created - - // check that the client instance can be created - const sqlSslCertsServiceClient = new SqlSslCertsServiceClient(); - doStuffWithSqlSslCertsServiceClient(sqlSslCertsServiceClient); - // check that the client instance can be created - const sqlTiersServiceClient = new SqlTiersServiceClient(); - doStuffWithSqlTiersServiceClient(sqlTiersServiceClient); - // check that the client instance can be created - const sqlUsersServiceClient = new SqlUsersServiceClient(); - doStuffWithSqlUsersServiceClient(sqlUsersServiceClient); -} - -main(); diff --git a/packages/google-cloud-sql/system-test/install.ts b/packages/google-cloud-sql/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-sql/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-storagebatchoperations/package.json b/packages/google-cloud-storagebatchoperations/package.json index 3579a24f0c34..5d9229228ff6 100644 --- a/packages/google-cloud-storagebatchoperations/package.json +++ b/packages/google-cloud-storagebatchoperations/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-storagebatchoperations/system-test/fixtures/sample/src/index.js b/packages/google-cloud-storagebatchoperations/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 38a39d48c9d1..000000000000 --- a/packages/google-cloud-storagebatchoperations/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 storagebatchoperations = require('@google-cloud/storagebatchoperations'); - -function main() { - const storageBatchOperationsClient = new storagebatchoperations.StorageBatchOperationsClient(); -} - -main(); diff --git a/packages/google-cloud-storagebatchoperations/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-storagebatchoperations/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 3320355ef6c8..000000000000 --- a/packages/google-cloud-storagebatchoperations/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {StorageBatchOperationsClient} from '@google-cloud/storagebatchoperations'; - -// check that the client class type name can be used -function doStuffWithStorageBatchOperationsClient(client: StorageBatchOperationsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const storageBatchOperationsClient = new StorageBatchOperationsClient(); - doStuffWithStorageBatchOperationsClient(storageBatchOperationsClient); -} - -main(); diff --git a/packages/google-cloud-storagebatchoperations/system-test/install.ts b/packages/google-cloud-storagebatchoperations/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-storagebatchoperations/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-storageinsights/package.json b/packages/google-cloud-storageinsights/package.json index 11c51292f0bc..dcf10e07fc6e 100644 --- a/packages/google-cloud-storageinsights/package.json +++ b/packages/google-cloud-storageinsights/package.json @@ -37,7 +37,7 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-storageinsights/system-test/fixtures/sample/src/index.js b/packages/google-cloud-storageinsights/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3eafe637d5dc..000000000000 --- a/packages/google-cloud-storageinsights/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 storageinsights = require('@google-cloud/storageinsights'); - -function main() { - const storageInsightsClient = new storageinsights.StorageInsightsClient(); -} - -main(); diff --git a/packages/google-cloud-storageinsights/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-storageinsights/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e9aa57d01b2b..000000000000 --- a/packages/google-cloud-storageinsights/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {StorageInsightsClient} from '@google-cloud/storageinsights'; - -// check that the client class type name can be used -function doStuffWithStorageInsightsClient(client: StorageInsightsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const storageInsightsClient = new StorageInsightsClient(); - doStuffWithStorageInsightsClient(storageInsightsClient); -} - -main(); diff --git a/packages/google-cloud-storageinsights/system-test/install.ts b/packages/google-cloud-storageinsights/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-storageinsights/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-support/package.json b/packages/google-cloud-support/package.json index fe41ce90d844..8b1cd598306b 100644 --- a/packages/google-cloud-support/package.json +++ b/packages/google-cloud-support/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-support/system-test/fixtures/sample/src/index.js b/packages/google-cloud-support/system-test/fixtures/sample/src/index.js deleted file mode 100644 index de71d5c9768e..000000000000 --- a/packages/google-cloud-support/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 support = require('@google-cloud/support'); - -function main() { - const caseAttachmentServiceClient = new support.CaseAttachmentServiceClient(); - const caseServiceClient = new support.CaseServiceClient(); - const commentServiceClient = new support.CommentServiceClient(); -} - -main(); diff --git a/packages/google-cloud-support/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-support/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index f3b5a06d0b38..000000000000 --- a/packages/google-cloud-support/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CaseAttachmentServiceClient, CaseServiceClient, CommentServiceClient} from '@google-cloud/support'; - -// check that the client class type name can be used -function doStuffWithCaseAttachmentServiceClient(client: CaseAttachmentServiceClient) { - client.close(); -} -function doStuffWithCaseServiceClient(client: CaseServiceClient) { - client.close(); -} -function doStuffWithCommentServiceClient(client: CommentServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const caseAttachmentServiceClient = new CaseAttachmentServiceClient(); - doStuffWithCaseAttachmentServiceClient(caseAttachmentServiceClient); - // check that the client instance can be created - const caseServiceClient = new CaseServiceClient(); - doStuffWithCaseServiceClient(caseServiceClient); - // check that the client instance can be created - const commentServiceClient = new CommentServiceClient(); - doStuffWithCommentServiceClient(commentServiceClient); -} - -main(); diff --git a/packages/google-cloud-support/system-test/install.ts b/packages/google-cloud-support/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-support/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-talent/package.json b/packages/google-cloud-talent/package.json index 5264228fd428..01f3acbfc8cf 100644 --- a/packages/google-cloud-talent/package.json +++ b/packages/google-cloud-talent/package.json @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-talent/system-test/fixtures/sample/src/index.js b/packages/google-cloud-talent/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 40adfb9d444f..000000000000 --- a/packages/google-cloud-talent/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 talent = require('@google-cloud/talent'); - -function main() { - const companyServiceClient = new talent.CompanyServiceClient(); - const completionClient = new talent.CompletionClient(); - const eventServiceClient = new talent.EventServiceClient(); - const jobServiceClient = new talent.JobServiceClient(); - const tenantServiceClient = new talent.TenantServiceClient(); -} - -main(); diff --git a/packages/google-cloud-talent/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-talent/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 87900fee2133..000000000000 --- a/packages/google-cloud-talent/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CompanyServiceClient, CompletionClient, EventServiceClient, JobServiceClient, TenantServiceClient} from '@google-cloud/talent'; - -// check that the client class type name can be used -function doStuffWithCompanyServiceClient(client: CompanyServiceClient) { - client.close(); -} -function doStuffWithCompletionClient(client: CompletionClient) { - client.close(); -} -function doStuffWithEventServiceClient(client: EventServiceClient) { - client.close(); -} -function doStuffWithJobServiceClient(client: JobServiceClient) { - client.close(); -} -function doStuffWithTenantServiceClient(client: TenantServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const companyServiceClient = new CompanyServiceClient(); - doStuffWithCompanyServiceClient(companyServiceClient); - // check that the client instance can be created - const completionClient = new CompletionClient(); - doStuffWithCompletionClient(completionClient); - // check that the client instance can be created - const eventServiceClient = new EventServiceClient(); - doStuffWithEventServiceClient(eventServiceClient); - // check that the client instance can be created - const jobServiceClient = new JobServiceClient(); - doStuffWithJobServiceClient(jobServiceClient); - // check that the client instance can be created - const tenantServiceClient = new TenantServiceClient(); - doStuffWithTenantServiceClient(tenantServiceClient); -} - -main(); diff --git a/packages/google-cloud-talent/system-test/install.ts b/packages/google-cloud-talent/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-talent/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.cjs b/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.cjs deleted file mode 100644 index 944e8cf1a2bf..000000000000 --- a/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.cjs +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -/* eslint-disable node/no-missing-require, no-unused-vars, no-undef */ -const tasks = require('@google-cloud/tasks'); - -function main() { - const cloudTasksClient = new tasks.CloudTasksClient(); -} - -main(); diff --git a/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.js b/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7d4e16792021..000000000000 --- a/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - - -/* eslint-disable node/no-missing-require, no-unused-vars, no-undef */ -import * as tasks from '@google-cloud/tasks'; - -function main() { - const cloudTasksClient = new tasks.CloudTasksClient(); -} - -main(); diff --git a/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 89f52e99efca..000000000000 --- a/packages/google-cloud-tasks/esm/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* eslint-disable node/no-missing-require, no-unused-vars, no-undef */ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudTasksClient} from '@google-cloud/tasks'; - -// check that the client class type name can be used -function doStuffWithCloudTasksClient(client: CloudTasksClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudTasksClient = new CloudTasksClient(); - doStuffWithCloudTasksClient(cloudTasksClient); -} - -main(); diff --git a/packages/google-cloud-tasks/esm/system-test/install.ts b/packages/google-cloud-tasks/esm/system-test/install.ts deleted file mode 100644 index e079c4fa1101..000000000000 --- a/packages/google-cloud-tasks/esm/system-test/install.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - it('TypeScript', async function() { - this.timeout(300000); - await packNTest({ - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./esm/system-test/fixtures/sample/src/index.ts').toString() - } - }); - }); - - it('ESM module', async function() { - this.timeout(300000); - await packNTest({ - sample: { - description: 'Should be able to import using ESM', - esm: readFileSync('./esm/system-test/fixtures/sample/src/index.js').toString(), - }, - }); - }); - - it('CJS module', async function() { - this.timeout(300000); - await packNTest({ - sample: { - description: 'Should be able to import using CJS', - cjs: readFileSync('./esm/system-test/fixtures/sample/src/index.cjs').toString(), - }, - }); - }); - -}); diff --git a/packages/google-cloud-tasks/package.json b/packages/google-cloud-tasks/package.json index 231d02a8067b..66ffa2817958 100644 --- a/packages/google-cloud-tasks/package.json +++ b/packages/google-cloud-tasks/package.json @@ -64,9 +64,9 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", - "system-test:cjs": "c8 mocha build/cjs/system-test", - "system-test:esm": "c8 mocha build/esm/system-test", - "system-test": "npm run system-test:esm && npm run system-test:cjs", + "system-test:cjs": "echo no system tests", + "system-test:esm": "echo no system tests", + "system-test": "echo no system tests", "test:cjs": "c8 mocha build/cjs/test", "test:esm": "c8 mocha build/esm/test", "prelint": "cd samples; npm link ../; npm i", @@ -97,7 +97,6 @@ "jsdoc-region-tag": "^3.0.0", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "3.0.1", "sinon": "21.0.3", "ts-loader": "^9.5.2", "typescript": "^5.8.2", diff --git a/packages/google-cloud-telcoautomation/package.json b/packages/google-cloud-telcoautomation/package.json index 27dba675fe65..4f6cd8c708fa 100644 --- a/packages/google-cloud-telcoautomation/package.json +++ b/packages/google-cloud-telcoautomation/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-telcoautomation/system-test/fixtures/sample/src/index.js b/packages/google-cloud-telcoautomation/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6fbedd7fc82f..000000000000 --- a/packages/google-cloud-telcoautomation/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 telcoautomation = require('@google-cloud/telcoautomation'); - -function main() { - const telcoAutomationClient = new telcoautomation.TelcoAutomationClient(); -} - -main(); diff --git a/packages/google-cloud-telcoautomation/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-telcoautomation/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9bdc9ed399db..000000000000 --- a/packages/google-cloud-telcoautomation/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TelcoAutomationClient} from '@google-cloud/telcoautomation'; - -// check that the client class type name can be used -function doStuffWithTelcoAutomationClient(client: TelcoAutomationClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const telcoAutomationClient = new TelcoAutomationClient(); - doStuffWithTelcoAutomationClient(telcoAutomationClient); -} - -main(); diff --git a/packages/google-cloud-telcoautomation/system-test/install.ts b/packages/google-cloud-telcoautomation/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-telcoautomation/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-texttospeech/package.json b/packages/google-cloud-texttospeech/package.json index 4491bf003e2f..2db477d57aa4 100644 --- a/packages/google-cloud-texttospeech/package.json +++ b/packages/google-cloud-texttospeech/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -63,7 +63,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-texttospeech/system-test/fixtures/sample/src/index.js b/packages/google-cloud-texttospeech/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 34490d497fa1..000000000000 --- a/packages/google-cloud-texttospeech/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 texttospeech = require('@google-cloud/text-to-speech'); - -function main() { - const textToSpeechClient = new texttospeech.TextToSpeechClient(); - const textToSpeechLongAudioSynthesizeClient = new texttospeech.TextToSpeechLongAudioSynthesizeClient(); -} - -main(); diff --git a/packages/google-cloud-texttospeech/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-texttospeech/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index f7491ac82c0b..000000000000 --- a/packages/google-cloud-texttospeech/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TextToSpeechClient, TextToSpeechLongAudioSynthesizeClient} from '@google-cloud/text-to-speech'; - -// check that the client class type name can be used -function doStuffWithTextToSpeechClient(client: TextToSpeechClient) { - client.close(); -} -function doStuffWithTextToSpeechLongAudioSynthesizeClient(client: TextToSpeechLongAudioSynthesizeClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const textToSpeechClient = new TextToSpeechClient(); - doStuffWithTextToSpeechClient(textToSpeechClient); - // check that the client instance can be created - const textToSpeechLongAudioSynthesizeClient = new TextToSpeechLongAudioSynthesizeClient(); - doStuffWithTextToSpeechLongAudioSynthesizeClient(textToSpeechLongAudioSynthesizeClient); -} - -main(); diff --git a/packages/google-cloud-texttospeech/system-test/install.ts b/packages/google-cloud-texttospeech/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-texttospeech/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-tpu/package.json b/packages/google-cloud-tpu/package.json index a2357c17c13e..2d0288286f34 100644 --- a/packages/google-cloud-tpu/package.json +++ b/packages/google-cloud-tpu/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-tpu/system-test/fixtures/sample/src/index.js b/packages/google-cloud-tpu/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a3af2b3d6819..000000000000 --- a/packages/google-cloud-tpu/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 tpu = require('@google-cloud/tpu'); - -function main() { - const tpuClient = new tpu.TpuClient(); -} - -main(); diff --git a/packages/google-cloud-tpu/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-tpu/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0dce53c3cfae..000000000000 --- a/packages/google-cloud-tpu/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TpuClient} from '@google-cloud/tpu'; - -// check that the client class type name can be used -function doStuffWithTpuClient(client: TpuClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const tpuClient = new TpuClient(); - doStuffWithTpuClient(tpuClient); -} - -main(); diff --git a/packages/google-cloud-tpu/system-test/install.ts b/packages/google-cloud-tpu/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-tpu/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-translate/package.json b/packages/google-cloud-translate/package.json index ff069882945f..aa0acced410c 100644 --- a/packages/google-cloud-translate/package.json +++ b/packages/google-cloud-translate/package.json @@ -44,7 +44,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -74,7 +74,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "proxyquire": "^2.1.3", "sinon": "21.0.3", "typescript": "^5.8.2" diff --git a/packages/google-cloud-translate/system-test/fixtures/sample/src/index.js b/packages/google-cloud-translate/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3adb7ba7f4f7..000000000000 --- a/packages/google-cloud-translate/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 translation = require('@google-cloud/translate'); - -function main() { - const translationServiceClient = new translation.TranslationServiceClient(); -} - -main(); diff --git a/packages/google-cloud-translate/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-translate/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 7ea06a4188aa..000000000000 --- a/packages/google-cloud-translate/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TranslationServiceClient} from '@google-cloud/translate'; - -// check that the client class type name can be used -function doStuffWithTranslationServiceClient(client: TranslationServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const translationServiceClient = new TranslationServiceClient(); - doStuffWithTranslationServiceClient(translationServiceClient); -} - -main(); diff --git a/packages/google-cloud-translate/system-test/install.ts b/packages/google-cloud-translate/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-translate/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-vectorsearch/package.json b/packages/google-cloud-vectorsearch/package.json index 8ea3a769e6d1..d4542e37825f 100644 --- a/packages/google-cloud-vectorsearch/package.json +++ b/packages/google-cloud-vectorsearch/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-vectorsearch/system-test/fixtures/sample/src/index.js b/packages/google-cloud-vectorsearch/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 4de388331e4d..000000000000 --- a/packages/google-cloud-vectorsearch/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 vectorsearch = require('@google-cloud/vectorsearch'); - -function main() { - const dataObjectSearchServiceClient = new vectorsearch.DataObjectSearchServiceClient(); - const dataObjectServiceClient = new vectorsearch.DataObjectServiceClient(); - const vectorSearchServiceClient = new vectorsearch.VectorSearchServiceClient(); -} - -main(); diff --git a/packages/google-cloud-vectorsearch/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-vectorsearch/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1fdc3921153b..000000000000 --- a/packages/google-cloud-vectorsearch/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataObjectSearchServiceClient, DataObjectServiceClient, VectorSearchServiceClient} from '@google-cloud/vectorsearch'; - -// check that the client class type name can be used -function doStuffWithDataObjectSearchServiceClient(client: DataObjectSearchServiceClient) { - client.close(); -} -function doStuffWithDataObjectServiceClient(client: DataObjectServiceClient) { - client.close(); -} -function doStuffWithVectorSearchServiceClient(client: VectorSearchServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataObjectSearchServiceClient = new DataObjectSearchServiceClient(); - doStuffWithDataObjectSearchServiceClient(dataObjectSearchServiceClient); - // check that the client instance can be created - const dataObjectServiceClient = new DataObjectServiceClient(); - doStuffWithDataObjectServiceClient(dataObjectServiceClient); - // check that the client instance can be created - const vectorSearchServiceClient = new VectorSearchServiceClient(); - doStuffWithVectorSearchServiceClient(vectorSearchServiceClient); -} - -main(); diff --git a/packages/google-cloud-vectorsearch/system-test/install.ts b/packages/google-cloud-vectorsearch/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-cloud-vectorsearch/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-video-livestream/package.json b/packages/google-cloud-video-livestream/package.json index 592a34d916e3..889b0c522f71 100644 --- a/packages/google-cloud-video-livestream/package.json +++ b/packages/google-cloud-video-livestream/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-video-livestream/system-test/fixtures/sample/src/index.js b/packages/google-cloud-video-livestream/system-test/fixtures/sample/src/index.js deleted file mode 100644 index ae80935d7b31..000000000000 --- a/packages/google-cloud-video-livestream/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 livestream = require('@google-cloud/livestream'); - -function main() { - const livestreamServiceClient = new livestream.LivestreamServiceClient(); -} - -main(); diff --git a/packages/google-cloud-video-livestream/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-video-livestream/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 52a49a611428..000000000000 --- a/packages/google-cloud-video-livestream/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LivestreamServiceClient} from '@google-cloud/livestream'; - -// check that the client class type name can be used -function doStuffWithLivestreamServiceClient(client: LivestreamServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const livestreamServiceClient = new LivestreamServiceClient(); - doStuffWithLivestreamServiceClient(livestreamServiceClient); -} - -main(); diff --git a/packages/google-cloud-video-livestream/system-test/install.ts b/packages/google-cloud-video-livestream/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-video-livestream/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-video-stitcher/package.json b/packages/google-cloud-video-stitcher/package.json index 257f729fc5ab..c742700c0691 100644 --- a/packages/google-cloud-video-stitcher/package.json +++ b/packages/google-cloud-video-stitcher/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-video-stitcher/system-test/fixtures/sample/src/index.js b/packages/google-cloud-video-stitcher/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6095f7517344..000000000000 --- a/packages/google-cloud-video-stitcher/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 stitcher = require('@google-cloud/video-stitcher'); - -function main() { - const videoStitcherServiceClient = new stitcher.VideoStitcherServiceClient(); -} - -main(); diff --git a/packages/google-cloud-video-stitcher/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-video-stitcher/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index eaaae2864959..000000000000 --- a/packages/google-cloud-video-stitcher/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {VideoStitcherServiceClient} from '@google-cloud/video-stitcher'; - -// check that the client class type name can be used -function doStuffWithVideoStitcherServiceClient(client: VideoStitcherServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const videoStitcherServiceClient = new VideoStitcherServiceClient(); - doStuffWithVideoStitcherServiceClient(videoStitcherServiceClient); -} - -main(); diff --git a/packages/google-cloud-video-stitcher/system-test/install.ts b/packages/google-cloud-video-stitcher/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-video-stitcher/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-video-transcoder/package.json b/packages/google-cloud-video-transcoder/package.json index d5f6313ff4eb..4b967f49e71a 100644 --- a/packages/google-cloud-video-transcoder/package.json +++ b/packages/google-cloud-video-transcoder/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-video-transcoder/system-test/fixtures/sample/src/index.js b/packages/google-cloud-video-transcoder/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7d51675fa67c..000000000000 --- a/packages/google-cloud-video-transcoder/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 transcoder = require('@google-cloud/video-transcoder'); - -function main() { - const transcoderServiceClient = new transcoder.TranscoderServiceClient(); -} - -main(); diff --git a/packages/google-cloud-video-transcoder/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-video-transcoder/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4b40e0c56a19..000000000000 --- a/packages/google-cloud-video-transcoder/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TranscoderServiceClient} from '@google-cloud/video-transcoder'; - -// check that the client class type name can be used -function doStuffWithTranscoderServiceClient(client: TranscoderServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const transcoderServiceClient = new TranscoderServiceClient(); - doStuffWithTranscoderServiceClient(transcoderServiceClient); -} - -main(); diff --git a/packages/google-cloud-video-transcoder/system-test/install.ts b/packages/google-cloud-video-transcoder/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-video-transcoder/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-videointelligence/package.json b/packages/google-cloud-videointelligence/package.json index 7f95cea664e0..5f02fef053dc 100644 --- a/packages/google-cloud-videointelligence/package.json +++ b/packages/google-cloud-videointelligence/package.json @@ -44,7 +44,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -64,7 +64,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "prettier": "^3.5.3", "sinon": "21.0.3", "typescript": "^5.8.2" diff --git a/packages/google-cloud-videointelligence/system-test/fixtures/sample/src/index.js b/packages/google-cloud-videointelligence/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 25cb89ca6849..000000000000 --- a/packages/google-cloud-videointelligence/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 videointelligence = require('@google-cloud/video-intelligence'); - -function main() { - const videoIntelligenceServiceClient = new videointelligence.VideoIntelligenceServiceClient(); -} - -main(); diff --git a/packages/google-cloud-videointelligence/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-videointelligence/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index f4c64ec35f78..000000000000 --- a/packages/google-cloud-videointelligence/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {VideoIntelligenceServiceClient} from '@google-cloud/video-intelligence'; - -// check that the client class type name can be used -function doStuffWithVideoIntelligenceServiceClient(client: VideoIntelligenceServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const videoIntelligenceServiceClient = new VideoIntelligenceServiceClient(); - doStuffWithVideoIntelligenceServiceClient(videoIntelligenceServiceClient); -} - -main(); diff --git a/packages/google-cloud-videointelligence/system-test/install.ts b/packages/google-cloud-videointelligence/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-videointelligence/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-vision/package.json b/packages/google-cloud-vision/package.json index e2904818b1df..914e0abefff0 100644 --- a/packages/google-cloud-vision/package.json +++ b/packages/google-cloud-vision/package.json @@ -68,7 +68,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2", "uuid": "^11.1.0" diff --git a/packages/google-cloud-vision/system-test/fixtures/sample/src/index.js b/packages/google-cloud-vision/system-test/fixtures/sample/src/index.js deleted file mode 100644 index deab526ac8eb..000000000000 --- a/packages/google-cloud-vision/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 vision = require('@google-cloud/vision'); - -function main() { - const imageAnnotatorClient = new vision.ImageAnnotatorClient(); - const productSearchClient = new vision.ProductSearchClient(); -} - -main(); diff --git a/packages/google-cloud-vision/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-vision/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9e677ffdaeac..000000000000 --- a/packages/google-cloud-vision/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ImageAnnotatorClient, ProductSearchClient} from '@google-cloud/vision'; - -// check that the client class type name can be used -function doStuffWithImageAnnotatorClient(client: ImageAnnotatorClient) { - client.close(); -} -function doStuffWithProductSearchClient(client: ProductSearchClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const imageAnnotatorClient = new ImageAnnotatorClient(); - doStuffWithImageAnnotatorClient(imageAnnotatorClient); - // check that the client instance can be created - const productSearchClient = new ProductSearchClient(); - doStuffWithProductSearchClient(productSearchClient); -} - -main(); diff --git a/packages/google-cloud-vision/system-test/install.ts b/packages/google-cloud-vision/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-vision/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-visionai/package.json b/packages/google-cloud-visionai/package.json index a3abcd03faec..6735632590e1 100644 --- a/packages/google-cloud-visionai/package.json +++ b/packages/google-cloud-visionai/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-visionai/system-test/fixtures/sample/src/index.js b/packages/google-cloud-visionai/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6feda88300d6..000000000000 --- a/packages/google-cloud-visionai/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 visionai = require('@google-cloud/visionai'); - -function main() { - const appPlatformClient = new visionai.AppPlatformClient(); - const healthCheckServiceClient = new visionai.HealthCheckServiceClient(); - const liveVideoAnalyticsClient = new visionai.LiveVideoAnalyticsClient(); - const streamingServiceClient = new visionai.StreamingServiceClient(); - const streamsServiceClient = new visionai.StreamsServiceClient(); - const warehouseClient = new visionai.WarehouseClient(); -} - -main(); diff --git a/packages/google-cloud-visionai/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-visionai/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 22c658bdca1b..000000000000 --- a/packages/google-cloud-visionai/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AppPlatformClient, HealthCheckServiceClient, LiveVideoAnalyticsClient, StreamingServiceClient, StreamsServiceClient, WarehouseClient} from '@google-cloud/visionai'; - -// check that the client class type name can be used -function doStuffWithAppPlatformClient(client: AppPlatformClient) { - client.close(); -} -function doStuffWithHealthCheckServiceClient(client: HealthCheckServiceClient) { - client.close(); -} -function doStuffWithLiveVideoAnalyticsClient(client: LiveVideoAnalyticsClient) { - client.close(); -} -function doStuffWithStreamingServiceClient(client: StreamingServiceClient) { - client.close(); -} -function doStuffWithStreamsServiceClient(client: StreamsServiceClient) { - client.close(); -} -function doStuffWithWarehouseClient(client: WarehouseClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const appPlatformClient = new AppPlatformClient(); - doStuffWithAppPlatformClient(appPlatformClient); - // check that the client instance can be created - const healthCheckServiceClient = new HealthCheckServiceClient(); - doStuffWithHealthCheckServiceClient(healthCheckServiceClient); - // check that the client instance can be created - const liveVideoAnalyticsClient = new LiveVideoAnalyticsClient(); - doStuffWithLiveVideoAnalyticsClient(liveVideoAnalyticsClient); - // check that the client instance can be created - const streamingServiceClient = new StreamingServiceClient(); - doStuffWithStreamingServiceClient(streamingServiceClient); - // check that the client instance can be created - const streamsServiceClient = new StreamsServiceClient(); - doStuffWithStreamsServiceClient(streamsServiceClient); - // check that the client instance can be created - const warehouseClient = new WarehouseClient(); - doStuffWithWarehouseClient(warehouseClient); -} - -main(); diff --git a/packages/google-cloud-visionai/system-test/install.ts b/packages/google-cloud-visionai/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-visionai/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-vmmigration/package.json b/packages/google-cloud-vmmigration/package.json index b887dbd35a9b..550d321b9e46 100644 --- a/packages/google-cloud-vmmigration/package.json +++ b/packages/google-cloud-vmmigration/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-vmmigration/system-test/fixtures/sample/src/index.js b/packages/google-cloud-vmmigration/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 53f048bf33d4..000000000000 --- a/packages/google-cloud-vmmigration/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 vmmigration = require('@google-cloud/vmmigration'); - -function main() { - const vmMigrationClient = new vmmigration.VmMigrationClient(); -} - -main(); diff --git a/packages/google-cloud-vmmigration/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-vmmigration/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 637e35fa6bf9..000000000000 --- a/packages/google-cloud-vmmigration/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {VmMigrationClient} from '@google-cloud/vmmigration'; - -// check that the client class type name can be used -function doStuffWithVmMigrationClient(client: VmMigrationClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const vmMigrationClient = new VmMigrationClient(); - doStuffWithVmMigrationClient(vmMigrationClient); -} - -main(); diff --git a/packages/google-cloud-vmmigration/system-test/install.ts b/packages/google-cloud-vmmigration/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-vmmigration/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-vmwareengine/package.json b/packages/google-cloud-vmwareengine/package.json index 2f7e4efee1b7..cc6e8b8176c7 100644 --- a/packages/google-cloud-vmwareengine/package.json +++ b/packages/google-cloud-vmwareengine/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-vmwareengine/system-test/fixtures/sample/src/index.js b/packages/google-cloud-vmwareengine/system-test/fixtures/sample/src/index.js deleted file mode 100644 index d5e65227979e..000000000000 --- a/packages/google-cloud-vmwareengine/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 vmwareengine = require('@google-cloud/vmwareengine'); - -function main() { - const vmwareEngineClient = new vmwareengine.VmwareEngineClient(); -} - -main(); diff --git a/packages/google-cloud-vmwareengine/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-vmwareengine/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index a222f6f2cbbc..000000000000 --- a/packages/google-cloud-vmwareengine/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {VmwareEngineClient} from '@google-cloud/vmwareengine'; - -// check that the client class type name can be used -function doStuffWithVmwareEngineClient(client: VmwareEngineClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const vmwareEngineClient = new VmwareEngineClient(); - doStuffWithVmwareEngineClient(vmwareEngineClient); -} - -main(); diff --git a/packages/google-cloud-vmwareengine/system-test/install.ts b/packages/google-cloud-vmwareengine/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-vmwareengine/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-vpcaccess/package.json b/packages/google-cloud-vpcaccess/package.json index cc5165564e66..22dff10dbfd1 100644 --- a/packages/google-cloud-vpcaccess/package.json +++ b/packages/google-cloud-vpcaccess/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-vpcaccess/system-test/fixtures/sample/src/index.js b/packages/google-cloud-vpcaccess/system-test/fixtures/sample/src/index.js deleted file mode 100644 index ed3e94701215..000000000000 --- a/packages/google-cloud-vpcaccess/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 vpcaccess = require('@google-cloud/vpc-access'); - -function main() { - const vpcAccessServiceClient = new vpcaccess.VpcAccessServiceClient(); -} - -main(); diff --git a/packages/google-cloud-vpcaccess/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-vpcaccess/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 0218e085154f..000000000000 --- a/packages/google-cloud-vpcaccess/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {VpcAccessServiceClient} from '@google-cloud/vpc-access'; - -// check that the client class type name can be used -function doStuffWithVpcAccessServiceClient(client: VpcAccessServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const vpcAccessServiceClient = new VpcAccessServiceClient(); - doStuffWithVpcAccessServiceClient(vpcAccessServiceClient); -} - -main(); diff --git a/packages/google-cloud-vpcaccess/system-test/install.ts b/packages/google-cloud-vpcaccess/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-vpcaccess/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-webrisk/package.json b/packages/google-cloud-webrisk/package.json index 21abc5a28e62..854b04bb81d9 100644 --- a/packages/google-cloud-webrisk/package.json +++ b/packages/google-cloud-webrisk/package.json @@ -45,7 +45,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-webrisk/system-test/fixtures/sample/src/index.js b/packages/google-cloud-webrisk/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3b24648947ad..000000000000 --- a/packages/google-cloud-webrisk/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 webrisk = require('@google-cloud/web-risk'); - -function main() { - const webRiskServiceClient = new webrisk.WebRiskServiceClient(); -} - -main(); diff --git a/packages/google-cloud-webrisk/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-webrisk/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d351f429186a..000000000000 --- a/packages/google-cloud-webrisk/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {WebRiskServiceClient} from '@google-cloud/web-risk'; - -// check that the client class type name can be used -function doStuffWithWebRiskServiceClient(client: WebRiskServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const webRiskServiceClient = new WebRiskServiceClient(); - doStuffWithWebRiskServiceClient(webRiskServiceClient); -} - -main(); diff --git a/packages/google-cloud-webrisk/system-test/install.ts b/packages/google-cloud-webrisk/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-webrisk/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-websecurityscanner/package.json b/packages/google-cloud-websecurityscanner/package.json index 94eeccd658b5..25c3add42421 100644 --- a/packages/google-cloud-websecurityscanner/package.json +++ b/packages/google-cloud-websecurityscanner/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-websecurityscanner/system-test/fixtures/sample/src/index.js b/packages/google-cloud-websecurityscanner/system-test/fixtures/sample/src/index.js deleted file mode 100644 index a20086563db1..000000000000 --- a/packages/google-cloud-websecurityscanner/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 websecurityscanner = require('@google-cloud/web-security-scanner'); - -function main() { - const webSecurityScannerClient = new websecurityscanner.WebSecurityScannerClient(); -} - -main(); diff --git a/packages/google-cloud-websecurityscanner/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-websecurityscanner/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 82d0d68f565c..000000000000 --- a/packages/google-cloud-websecurityscanner/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {WebSecurityScannerClient} from '@google-cloud/web-security-scanner'; - -// check that the client class type name can be used -function doStuffWithWebSecurityScannerClient(client: WebSecurityScannerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const webSecurityScannerClient = new WebSecurityScannerClient(); - doStuffWithWebSecurityScannerClient(webSecurityScannerClient); -} - -main(); diff --git a/packages/google-cloud-websecurityscanner/system-test/install.ts b/packages/google-cloud-websecurityscanner/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-websecurityscanner/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-workflows/package.json b/packages/google-cloud-workflows/package.json index 1c8ed149655c..2e6c36aa5c11 100644 --- a/packages/google-cloud-workflows/package.json +++ b/packages/google-cloud-workflows/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-workflows/system-test/fixtures/sample/src/index.js b/packages/google-cloud-workflows/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 68c6b658f4c3..000000000000 --- a/packages/google-cloud-workflows/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 executions = require('@google-cloud/workflows'); - -function main() { - const executionsClient = new executions.ExecutionsClient(); -} - -main(); diff --git a/packages/google-cloud-workflows/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-workflows/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 7ce7a4fddcb4..000000000000 --- a/packages/google-cloud-workflows/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ExecutionsClient} from '@google-cloud/workflows'; - -// check that the client class type name can be used -function doStuffWithExecutionsClient(client: ExecutionsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const executionsClient = new ExecutionsClient(); - doStuffWithExecutionsClient(executionsClient); -} - -main(); diff --git a/packages/google-cloud-workflows/system-test/install.ts b/packages/google-cloud-workflows/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-workflows/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-workloadmanager/package.json b/packages/google-cloud-workloadmanager/package.json index db867feea798..2d561d3ed8e4 100644 --- a/packages/google-cloud-workloadmanager/package.json +++ b/packages/google-cloud-workloadmanager/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-workloadmanager/system-test/fixtures/sample/src/index.js b/packages/google-cloud-workloadmanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b691210677bb..000000000000 --- a/packages/google-cloud-workloadmanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 workloadmanager = require('@google-cloud/workloadmanager'); - -function main() { - const workloadManagerClient = new workloadmanager.WorkloadManagerClient(); -} - -main(); diff --git a/packages/google-cloud-workloadmanager/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-workloadmanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4b6d87ad55b8..000000000000 --- a/packages/google-cloud-workloadmanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {WorkloadManagerClient} from '@google-cloud/workloadmanager'; - -// check that the client class type name can be used -function doStuffWithWorkloadManagerClient(client: WorkloadManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const workloadManagerClient = new WorkloadManagerClient(); - doStuffWithWorkloadManagerClient(workloadManagerClient); -} - -main(); diff --git a/packages/google-cloud-workloadmanager/system-test/install.ts b/packages/google-cloud-workloadmanager/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-workloadmanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-cloud-workstations/package.json b/packages/google-cloud-workstations/package.json index f15a6929b242..55f3c7ca78a2 100644 --- a/packages/google-cloud-workstations/package.json +++ b/packages/google-cloud-workstations/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-cloud-workstations/system-test/fixtures/sample/src/index.js b/packages/google-cloud-workstations/system-test/fixtures/sample/src/index.js deleted file mode 100644 index c25919e87604..000000000000 --- a/packages/google-cloud-workstations/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 workstations = require('@google-cloud/workstations'); - -function main() { - const workstationsClient = new workstations.WorkstationsClient(); -} - -main(); diff --git a/packages/google-cloud-workstations/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-workstations/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 3a547fc4680d..000000000000 --- a/packages/google-cloud-workstations/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {WorkstationsClient} from '@google-cloud/workstations'; - -// check that the client class type name can be used -function doStuffWithWorkstationsClient(client: WorkstationsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const workstationsClient = new WorkstationsClient(); - doStuffWithWorkstationsClient(workstationsClient); -} - -main(); diff --git a/packages/google-cloud-workstations/system-test/install.ts b/packages/google-cloud-workstations/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-cloud-workstations/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-container/package.json b/packages/google-container/package.json index 8545bd15460f..f7f4cc569cd2 100644 --- a/packages/google-container/package.json +++ b/packages/google-container/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-container/system-test/fixtures/sample/src/index.js b/packages/google-container/system-test/fixtures/sample/src/index.js deleted file mode 100644 index e92b57330534..000000000000 --- a/packages/google-container/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 container = require('@google-cloud/container'); - -function main() { - const clusterManagerClient = new container.ClusterManagerClient(); -} - -main(); diff --git a/packages/google-container/system-test/fixtures/sample/src/index.ts b/packages/google-container/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index f22bd004fab4..000000000000 --- a/packages/google-container/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ClusterManagerClient} from '@google-cloud/container'; - -// check that the client class type name can be used -function doStuffWithClusterManagerClient(client: ClusterManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const clusterManagerClient = new ClusterManagerClient(); - doStuffWithClusterManagerClient(clusterManagerClient); -} - -main(); diff --git a/packages/google-container/system-test/install.ts b/packages/google-container/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-container/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-dataflow/package.json b/packages/google-dataflow/package.json index 43aa1351f558..c34068116ac4 100644 --- a/packages/google-dataflow/package.json +++ b/packages/google-dataflow/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-dataflow/system-test/fixtures/sample/src/index.js b/packages/google-dataflow/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 61329054bbd2..000000000000 --- a/packages/google-dataflow/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dataflow = require('@google-cloud/dataflow'); - -function main() { - const flexTemplatesServiceClient = new dataflow.FlexTemplatesServiceClient(); - const jobsV1Beta3Client = new dataflow.JobsV1Beta3Client(); - const messagesV1Beta3Client = new dataflow.MessagesV1Beta3Client(); - const metricsV1Beta3Client = new dataflow.MetricsV1Beta3Client(); - const snapshotsV1Beta3Client = new dataflow.SnapshotsV1Beta3Client(); - const templatesServiceClient = new dataflow.TemplatesServiceClient(); -} - -main(); diff --git a/packages/google-dataflow/system-test/fixtures/sample/src/index.ts b/packages/google-dataflow/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 816b305e5e75..000000000000 --- a/packages/google-dataflow/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {FlexTemplatesServiceClient, JobsV1Beta3Client, MessagesV1Beta3Client, MetricsV1Beta3Client, SnapshotsV1Beta3Client, TemplatesServiceClient} from '@google-cloud/dataflow'; - -// check that the client class type name can be used -function doStuffWithFlexTemplatesServiceClient(client: FlexTemplatesServiceClient) { - client.close(); -} -function doStuffWithJobsV1Beta3Client(client: JobsV1Beta3Client) { - client.close(); -} -function doStuffWithMessagesV1Beta3Client(client: MessagesV1Beta3Client) { - client.close(); -} -function doStuffWithMetricsV1Beta3Client(client: MetricsV1Beta3Client) { - client.close(); -} -function doStuffWithSnapshotsV1Beta3Client(client: SnapshotsV1Beta3Client) { - client.close(); -} -function doStuffWithTemplatesServiceClient(client: TemplatesServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const flexTemplatesServiceClient = new FlexTemplatesServiceClient(); - doStuffWithFlexTemplatesServiceClient(flexTemplatesServiceClient); - // check that the client instance can be created - const jobsV1Beta3Client = new JobsV1Beta3Client(); - doStuffWithJobsV1Beta3Client(jobsV1Beta3Client); - // check that the client instance can be created - const messagesV1Beta3Client = new MessagesV1Beta3Client(); - doStuffWithMessagesV1Beta3Client(messagesV1Beta3Client); - // check that the client instance can be created - const metricsV1Beta3Client = new MetricsV1Beta3Client(); - doStuffWithMetricsV1Beta3Client(metricsV1Beta3Client); - // check that the client instance can be created - const snapshotsV1Beta3Client = new SnapshotsV1Beta3Client(); - doStuffWithSnapshotsV1Beta3Client(snapshotsV1Beta3Client); - // check that the client instance can be created - const templatesServiceClient = new TemplatesServiceClient(); - doStuffWithTemplatesServiceClient(templatesServiceClient); -} - -main(); diff --git a/packages/google-dataflow/system-test/install.ts b/packages/google-dataflow/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-dataflow/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-devtools-artifactregistry/package.json b/packages/google-devtools-artifactregistry/package.json index e4132ab755bc..b39a55ef9f64 100644 --- a/packages/google-devtools-artifactregistry/package.json +++ b/packages/google-devtools-artifactregistry/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-devtools-artifactregistry/system-test/fixtures/sample/src/index.js b/packages/google-devtools-artifactregistry/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3adcbad938e9..000000000000 --- a/packages/google-devtools-artifactregistry/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 artifactregistry = require('@google-cloud/artifact-registry'); - -function main() { - const artifactRegistryClient = new artifactregistry.ArtifactRegistryClient(); -} - -main(); diff --git a/packages/google-devtools-artifactregistry/system-test/fixtures/sample/src/index.ts b/packages/google-devtools-artifactregistry/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 53e84d7e0adf..000000000000 --- a/packages/google-devtools-artifactregistry/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ArtifactRegistryClient} from '@google-cloud/artifact-registry'; - -// check that the client class type name can be used -function doStuffWithArtifactRegistryClient(client: ArtifactRegistryClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const artifactRegistryClient = new ArtifactRegistryClient(); - doStuffWithArtifactRegistryClient(artifactRegistryClient); -} - -main(); diff --git a/packages/google-devtools-artifactregistry/system-test/install.ts b/packages/google-devtools-artifactregistry/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-devtools-artifactregistry/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-devtools-cloudbuild/package.json b/packages/google-devtools-cloudbuild/package.json index ed81e79bfb4e..b2c3aa7d7331 100644 --- a/packages/google-devtools-cloudbuild/package.json +++ b/packages/google-devtools-cloudbuild/package.json @@ -40,7 +40,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js b/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3589cad278fd..000000000000 --- a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cloudbuild = require('@google-cloud/cloudbuild'); - -function main() { - const cloudBuildClient = new cloudbuild.CloudBuildClient(); -} - -main(); diff --git a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts b/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b6e2f1c1480f..000000000000 --- a/packages/google-devtools-cloudbuild/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {CloudBuildClient} from '@google-cloud/cloudbuild'; - -// check that the client class type name can be used -function doStuffWithCloudBuildClient(client: CloudBuildClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const cloudBuildClient = new CloudBuildClient(); - doStuffWithCloudBuildClient(cloudBuildClient); -} - -main(); diff --git a/packages/google-devtools-cloudbuild/system-test/install.ts b/packages/google-devtools-cloudbuild/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-devtools-cloudbuild/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-devtools-cloudprofiler/package.json b/packages/google-devtools-cloudprofiler/package.json index fcb3ce9cf039..49e42e0b77a2 100644 --- a/packages/google-devtools-cloudprofiler/package.json +++ b/packages/google-devtools-cloudprofiler/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-devtools-cloudprofiler/system-test/fixtures/sample/src/index.js b/packages/google-devtools-cloudprofiler/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 0c8ec9263ede..000000000000 --- a/packages/google-devtools-cloudprofiler/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 cloudprofiler = require('@google-cloud/cloudprofiler'); - -function main() { - const exportServiceClient = new cloudprofiler.ExportServiceClient(); - const profilerServiceClient = new cloudprofiler.ProfilerServiceClient(); -} - -main(); diff --git a/packages/google-devtools-cloudprofiler/system-test/fixtures/sample/src/index.ts b/packages/google-devtools-cloudprofiler/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index eaf58800ff44..000000000000 --- a/packages/google-devtools-cloudprofiler/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ExportServiceClient, ProfilerServiceClient} from '@google-cloud/cloudprofiler'; - -// check that the client class type name can be used -function doStuffWithExportServiceClient(client: ExportServiceClient) { - client.close(); -} -function doStuffWithProfilerServiceClient(client: ProfilerServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const exportServiceClient = new ExportServiceClient(); - doStuffWithExportServiceClient(exportServiceClient); - // check that the client instance can be created - const profilerServiceClient = new ProfilerServiceClient(); - doStuffWithProfilerServiceClient(profilerServiceClient); -} - -main(); diff --git a/packages/google-devtools-cloudprofiler/system-test/install.ts b/packages/google-devtools-cloudprofiler/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-devtools-cloudprofiler/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-devtools-containeranalysis/package.json b/packages/google-devtools-containeranalysis/package.json index 77b5311fce9c..e067f0c9f86d 100644 --- a/packages/google-devtools-containeranalysis/package.json +++ b/packages/google-devtools-containeranalysis/package.json @@ -42,7 +42,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-devtools-containeranalysis/system-test/fixtures/sample/src/index.js b/packages/google-devtools-containeranalysis/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6d0b35c487cd..000000000000 --- a/packages/google-devtools-containeranalysis/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 containeranalysis = require('@google-cloud/containeranalysis'); - -function main() { - const containerAnalysisClient = - new containeranalysis.ContainerAnalysisClient(); -} - -main(); diff --git a/packages/google-devtools-containeranalysis/system-test/fixtures/sample/src/index.ts b/packages/google-devtools-containeranalysis/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index b0e572dbc647..000000000000 --- a/packages/google-devtools-containeranalysis/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2023 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ContainerAnalysisClient} from '@google-cloud/containeranalysis'; - -// check that the client class type name can be used -function doStuffWithContainerAnalysisClient(client: ContainerAnalysisClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const containerAnalysisClient = new ContainerAnalysisClient(); - doStuffWithContainerAnalysisClient(containerAnalysisClient); -} - -main(); diff --git a/packages/google-devtools-containeranalysis/system-test/install.ts b/packages/google-devtools-containeranalysis/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-devtools-containeranalysis/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-iam-credentials/package.json b/packages/google-iam-credentials/package.json index 63a349458dbc..cf5494804abf 100644 --- a/packages/google-iam-credentials/package.json +++ b/packages/google-iam-credentials/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-iam-credentials/system-test/fixtures/sample/src/index.js b/packages/google-iam-credentials/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 688327f14ed4..000000000000 --- a/packages/google-iam-credentials/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 credentials = require('@google-cloud/iam-credentials'); - -function main() { - const iAMCredentialsClient = new credentials.IAMCredentialsClient(); -} - -main(); diff --git a/packages/google-iam-credentials/system-test/fixtures/sample/src/index.ts b/packages/google-iam-credentials/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 40d520dd6c29..000000000000 --- a/packages/google-iam-credentials/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {IAMCredentialsClient} from '@google-cloud/iam-credentials'; - -// check that the client class type name can be used -function doStuffWithIAMCredentialsClient(client: IAMCredentialsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const iAMCredentialsClient = new IAMCredentialsClient(); - doStuffWithIAMCredentialsClient(iAMCredentialsClient); -} - -main(); diff --git a/packages/google-iam-credentials/system-test/install.ts b/packages/google-iam-credentials/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-iam-credentials/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-iam/package.json b/packages/google-iam/package.json index 084d7f7e87f5..6c3b1746f435 100644 --- a/packages/google-iam/package.json +++ b/packages/google-iam/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-iam/system-test/fixtures/sample/src/index.js b/packages/google-iam/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 7d9137124e60..000000000000 --- a/packages/google-iam/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 iam = require('@google-cloud/iam'); - -function main() { - const policiesClient = new iam.PoliciesClient(); -} - -main(); diff --git a/packages/google-iam/system-test/fixtures/sample/src/index.ts b/packages/google-iam/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e649b7f6e2a2..000000000000 --- a/packages/google-iam/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PoliciesClient} from '@google-cloud/iam'; - -// check that the client class type name can be used -function doStuffWithPoliciesClient(client: PoliciesClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const policiesClient = new PoliciesClient(); - doStuffWithPoliciesClient(policiesClient); -} - -main(); diff --git a/packages/google-iam/system-test/install.ts b/packages/google-iam/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-iam/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-identity-accesscontextmanager/package.json b/packages/google-identity-accesscontextmanager/package.json index c9d72d776a33..537f235acbda 100644 --- a/packages/google-identity-accesscontextmanager/package.json +++ b/packages/google-identity-accesscontextmanager/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-identity-accesscontextmanager/system-test/fixtures/sample/src/index.js b/packages/google-identity-accesscontextmanager/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 51ad4d9acecf..000000000000 --- a/packages/google-identity-accesscontextmanager/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 accesscontextmanager = require('@google-cloud/access-context-manager'); - -function main() { - const accessContextManagerClient = new accesscontextmanager.AccessContextManagerClient(); -} - -main(); diff --git a/packages/google-identity-accesscontextmanager/system-test/fixtures/sample/src/index.ts b/packages/google-identity-accesscontextmanager/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index adf1deadd38e..000000000000 --- a/packages/google-identity-accesscontextmanager/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AccessContextManagerClient} from '@google-cloud/access-context-manager'; - -// check that the client class type name can be used -function doStuffWithAccessContextManagerClient(client: AccessContextManagerClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const accessContextManagerClient = new AccessContextManagerClient(); - doStuffWithAccessContextManagerClient(accessContextManagerClient); -} - -main(); diff --git a/packages/google-identity-accesscontextmanager/system-test/install.ts b/packages/google-identity-accesscontextmanager/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-identity-accesscontextmanager/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-addressvalidation/package.json b/packages/google-maps-addressvalidation/package.json index b51d0d48d797..30179f07dc66 100644 --- a/packages/google-maps-addressvalidation/package.json +++ b/packages/google-maps-addressvalidation/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-addressvalidation/system-test/fixtures/sample/src/index.js b/packages/google-maps-addressvalidation/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 2616f3d0c8d9..000000000000 --- a/packages/google-maps-addressvalidation/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 addressvalidation = require('@googlemaps/addressvalidation'); - -function main() { - const addressValidationClient = new addressvalidation.AddressValidationClient(); -} - -main(); diff --git a/packages/google-maps-addressvalidation/system-test/fixtures/sample/src/index.ts b/packages/google-maps-addressvalidation/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6042b4e0b419..000000000000 --- a/packages/google-maps-addressvalidation/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AddressValidationClient} from '@googlemaps/addressvalidation'; - -// check that the client class type name can be used -function doStuffWithAddressValidationClient(client: AddressValidationClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const addressValidationClient = new AddressValidationClient(); - doStuffWithAddressValidationClient(addressValidationClient); -} - -main(); diff --git a/packages/google-maps-addressvalidation/system-test/install.ts b/packages/google-maps-addressvalidation/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-addressvalidation/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-areainsights/package.json b/packages/google-maps-areainsights/package.json index 81924913b1c8..0ac626e8d8e2 100644 --- a/packages/google-maps-areainsights/package.json +++ b/packages/google-maps-areainsights/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-areainsights/system-test/fixtures/sample/src/index.js b/packages/google-maps-areainsights/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 11bf0840c78c..000000000000 --- a/packages/google-maps-areainsights/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 areainsights = require('@googlemaps/areainsights'); - -function main() { - const areaInsightsClient = new areainsights.AreaInsightsClient(); -} - -main(); diff --git a/packages/google-maps-areainsights/system-test/fixtures/sample/src/index.ts b/packages/google-maps-areainsights/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d642c569cfc5..000000000000 --- a/packages/google-maps-areainsights/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AreaInsightsClient} from '@googlemaps/areainsights'; - -// check that the client class type name can be used -function doStuffWithAreaInsightsClient(client: AreaInsightsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const areaInsightsClient = new AreaInsightsClient(); - doStuffWithAreaInsightsClient(areaInsightsClient); -} - -main(); diff --git a/packages/google-maps-areainsights/system-test/install.ts b/packages/google-maps-areainsights/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-areainsights/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-fleetengine-delivery/package.json b/packages/google-maps-fleetengine-delivery/package.json index 1d84158cc1d5..066b39e490c6 100644 --- a/packages/google-maps-fleetengine-delivery/package.json +++ b/packages/google-maps-fleetengine-delivery/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-fleetengine-delivery/system-test/fixtures/sample/src/index.js b/packages/google-maps-fleetengine-delivery/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 4ae603e13eef..000000000000 --- a/packages/google-maps-fleetengine-delivery/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 delivery = require('@googlemaps/fleetengine-delivery'); - -function main() { - const deliveryServiceClient = new delivery.DeliveryServiceClient(); -} - -main(); diff --git a/packages/google-maps-fleetengine-delivery/system-test/fixtures/sample/src/index.ts b/packages/google-maps-fleetengine-delivery/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index dfbcd748a468..000000000000 --- a/packages/google-maps-fleetengine-delivery/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DeliveryServiceClient} from '@googlemaps/fleetengine-delivery'; - -// check that the client class type name can be used -function doStuffWithDeliveryServiceClient(client: DeliveryServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const deliveryServiceClient = new DeliveryServiceClient(); - doStuffWithDeliveryServiceClient(deliveryServiceClient); -} - -main(); diff --git a/packages/google-maps-fleetengine-delivery/system-test/install.ts b/packages/google-maps-fleetengine-delivery/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-fleetengine-delivery/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-fleetengine/package.json b/packages/google-maps-fleetengine/package.json index d618f1e5ac8b..c363758b552e 100644 --- a/packages/google-maps-fleetengine/package.json +++ b/packages/google-maps-fleetengine/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-fleetengine/system-test/fixtures/sample/src/index.js b/packages/google-maps-fleetengine/system-test/fixtures/sample/src/index.js deleted file mode 100644 index bad10f47870a..000000000000 --- a/packages/google-maps-fleetengine/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 fleetengine = require('@googlemaps/fleetengine'); - -function main() { - const tripServiceClient = new fleetengine.TripServiceClient(); - const vehicleServiceClient = new fleetengine.VehicleServiceClient(); -} - -main(); diff --git a/packages/google-maps-fleetengine/system-test/fixtures/sample/src/index.ts b/packages/google-maps-fleetengine/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 04ac67811b4d..000000000000 --- a/packages/google-maps-fleetengine/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {TripServiceClient, VehicleServiceClient} from '@googlemaps/fleetengine'; - -// check that the client class type name can be used -function doStuffWithTripServiceClient(client: TripServiceClient) { - client.close(); -} -function doStuffWithVehicleServiceClient(client: VehicleServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const tripServiceClient = new TripServiceClient(); - doStuffWithTripServiceClient(tripServiceClient); - // check that the client instance can be created - const vehicleServiceClient = new VehicleServiceClient(); - doStuffWithVehicleServiceClient(vehicleServiceClient); -} - -main(); diff --git a/packages/google-maps-fleetengine/system-test/install.ts b/packages/google-maps-fleetengine/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-fleetengine/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-fleetengine/v1/package.json b/packages/google-maps-fleetengine/v1/package.json index 80e0b308f711..5ad811ea8cf9 100644 --- a/packages/google-maps-fleetengine/v1/package.json +++ b/packages/google-maps-fleetengine/v1/package.json @@ -31,7 +31,7 @@ "fix": "gts fix", "lint": "gts check", "prepare": "npm run compile-protos && npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -48,7 +48,6 @@ "jsdoc-fresh": "^4.0.0", "jsdoc-region-tag": "^3.0.0", "mocha": "^11.7.2", - "pack-n-play": "^3.0.0", "typescript": "5.8.3", "sinon": "21.0.3" }, diff --git a/packages/google-maps-fleetengine/v1/system-test/fixtures/sample/src/index.js b/packages/google-maps-fleetengine/v1/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 46f66d046996..000000000000 --- a/packages/google-maps-fleetengine/v1/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 delivery = require('@googlemaps/fleetengine-delivery'); - -function main() { - const deliveryServiceClient = new delivery.DeliveryServiceClient(); -} - -main(); diff --git a/packages/google-maps-fleetengine/v1/system-test/fixtures/sample/src/index.ts b/packages/google-maps-fleetengine/v1/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1b71ea8e00e7..000000000000 --- a/packages/google-maps-fleetengine/v1/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DeliveryServiceClient} from '@googlemaps/fleetengine-delivery'; - -// check that the client class type name can be used -function doStuffWithDeliveryServiceClient(client: DeliveryServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const deliveryServiceClient = new DeliveryServiceClient(); - doStuffWithDeliveryServiceClient(deliveryServiceClient); -} - -main(); diff --git a/packages/google-maps-fleetengine/v1/system-test/install.ts b/packages/google-maps-fleetengine/v1/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-maps-fleetengine/v1/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-geocode/package.json b/packages/google-maps-geocode/package.json index 557b1c2a5062..54dba8c50762 100644 --- a/packages/google-maps-geocode/package.json +++ b/packages/google-maps-geocode/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-geocode/system-test/fixtures/sample/src/index.js b/packages/google-maps-geocode/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 6127ea274122..000000000000 --- a/packages/google-maps-geocode/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 geocode = require('@google-cloud/geocode'); - -function main() { - const destinationServiceClient = new geocode.DestinationServiceClient(); - const geocodeServiceClient = new geocode.GeocodeServiceClient(); -} - -main(); diff --git a/packages/google-maps-geocode/system-test/fixtures/sample/src/index.ts b/packages/google-maps-geocode/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9b636b11fc8a..000000000000 --- a/packages/google-maps-geocode/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DestinationServiceClient, GeocodeServiceClient} from '@google-cloud/geocode'; - -// check that the client class type name can be used -function doStuffWithDestinationServiceClient(client: DestinationServiceClient) { - client.close(); -} -function doStuffWithGeocodeServiceClient(client: GeocodeServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const destinationServiceClient = new DestinationServiceClient(); - doStuffWithDestinationServiceClient(destinationServiceClient); - // check that the client instance can be created - const geocodeServiceClient = new GeocodeServiceClient(); - doStuffWithGeocodeServiceClient(geocodeServiceClient); -} - -main(); diff --git a/packages/google-maps-geocode/system-test/install.ts b/packages/google-maps-geocode/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-geocode/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-mapsplatformdatasets/package.json b/packages/google-maps-mapsplatformdatasets/package.json index 3e35bc3ff7df..dc48662b4e6e 100644 --- a/packages/google-maps-mapsplatformdatasets/package.json +++ b/packages/google-maps-mapsplatformdatasets/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-mapsplatformdatasets/system-test/fixtures/sample/src/index.js b/packages/google-maps-mapsplatformdatasets/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 69e803cdb882..000000000000 --- a/packages/google-maps-mapsplatformdatasets/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 mapsplatformdatasets = require('@googlemaps/maps-platform-datasets'); - -function main() { - const mapsPlatformDatasetsClient = new mapsplatformdatasets.MapsPlatformDatasetsClient(); -} - -main(); diff --git a/packages/google-maps-mapsplatformdatasets/system-test/fixtures/sample/src/index.ts b/packages/google-maps-mapsplatformdatasets/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index aabe4a2c5d19..000000000000 --- a/packages/google-maps-mapsplatformdatasets/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MapsPlatformDatasetsClient} from '@googlemaps/maps-platform-datasets'; - -// check that the client class type name can be used -function doStuffWithMapsPlatformDatasetsClient(client: MapsPlatformDatasetsClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const mapsPlatformDatasetsClient = new MapsPlatformDatasetsClient(); - doStuffWithMapsPlatformDatasetsClient(mapsPlatformDatasetsClient); -} - -main(); diff --git a/packages/google-maps-mapsplatformdatasets/system-test/install.ts b/packages/google-maps-mapsplatformdatasets/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-mapsplatformdatasets/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-navconnect/package.json b/packages/google-maps-navconnect/package.json index 3a15d0158de9..377ac4a81e6b 100644 --- a/packages/google-maps-navconnect/package.json +++ b/packages/google-maps-navconnect/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-navconnect/system-test/fixtures/sample/src/index.js b/packages/google-maps-navconnect/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 5df42f40918e..000000000000 --- a/packages/google-maps-navconnect/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 navconnect = require('@google-cloud/navconnect'); - -function main() { - const navConnectServiceClient = new navconnect.NavConnectServiceClient(); -} - -main(); diff --git a/packages/google-maps-navconnect/system-test/fixtures/sample/src/index.ts b/packages/google-maps-navconnect/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 7c577a34bc27..000000000000 --- a/packages/google-maps-navconnect/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {NavConnectServiceClient} from '@google-cloud/navconnect'; - -// check that the client class type name can be used -function doStuffWithNavConnectServiceClient(client: NavConnectServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const navConnectServiceClient = new NavConnectServiceClient(); - doStuffWithNavConnectServiceClient(navConnectServiceClient); -} - -main(); diff --git a/packages/google-maps-navconnect/system-test/install.ts b/packages/google-maps-navconnect/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-navconnect/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-places/package.json b/packages/google-maps-places/package.json index 6bc980f3efb2..65ae31eac9b1 100644 --- a/packages/google-maps-places/package.json +++ b/packages/google-maps-places/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-places/system-test/fixtures/sample/src/index.js b/packages/google-maps-places/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 04df1c9df1db..000000000000 --- a/packages/google-maps-places/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 places = require('@googlemaps/places'); - -function main() { - const placesClient = new places.PlacesClient(); -} - -main(); diff --git a/packages/google-maps-places/system-test/fixtures/sample/src/index.ts b/packages/google-maps-places/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 7e053501776d..000000000000 --- a/packages/google-maps-places/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PlacesClient} from '@googlemaps/places'; - -// check that the client class type name can be used -function doStuffWithPlacesClient(client: PlacesClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const placesClient = new PlacesClient(); - doStuffWithPlacesClient(placesClient); -} - -main(); diff --git a/packages/google-maps-places/system-test/install.ts b/packages/google-maps-places/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-places/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-routeoptimization/package.json b/packages/google-maps-routeoptimization/package.json index 0a0528c148aa..1275653de319 100644 --- a/packages/google-maps-routeoptimization/package.json +++ b/packages/google-maps-routeoptimization/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-routeoptimization/system-test/fixtures/sample/src/index.js b/packages/google-maps-routeoptimization/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 3747c9918b00..000000000000 --- a/packages/google-maps-routeoptimization/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 routeoptimization = require('@googlemaps/routeoptimization'); - -function main() { - const routeOptimizationClient = new routeoptimization.RouteOptimizationClient(); -} - -main(); diff --git a/packages/google-maps-routeoptimization/system-test/fixtures/sample/src/index.ts b/packages/google-maps-routeoptimization/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 959f86464cc0..000000000000 --- a/packages/google-maps-routeoptimization/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {RouteOptimizationClient} from '@googlemaps/routeoptimization'; - -// check that the client class type name can be used -function doStuffWithRouteOptimizationClient(client: RouteOptimizationClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const routeOptimizationClient = new RouteOptimizationClient(); - doStuffWithRouteOptimizationClient(routeOptimizationClient); -} - -main(); diff --git a/packages/google-maps-routeoptimization/system-test/install.ts b/packages/google-maps-routeoptimization/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-routeoptimization/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-routing/package.json b/packages/google-maps-routing/package.json index 4e32d178aa73..e503909b5714 100644 --- a/packages/google-maps-routing/package.json +++ b/packages/google-maps-routing/package.json @@ -41,7 +41,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-routing/system-test/fixtures/sample/src/index.js b/packages/google-maps-routing/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9073b2c42134..000000000000 --- a/packages/google-maps-routing/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 routing = require('@googlemaps/routing'); - -function main() { - const routesClient = new routing.RoutesClient(); -} - -main(); diff --git a/packages/google-maps-routing/system-test/fixtures/sample/src/index.ts b/packages/google-maps-routing/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index cf74121e36d6..000000000000 --- a/packages/google-maps-routing/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {RoutesClient} from '@googlemaps/routing'; - -// check that the client class type name can be used -function doStuffWithRoutesClient(client: RoutesClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const routesClient = new RoutesClient(); - doStuffWithRoutesClient(routesClient); -} - -main(); diff --git a/packages/google-maps-routing/system-test/install.ts b/packages/google-maps-routing/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-routing/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-maps-solar/package.json b/packages/google-maps-solar/package.json index 772e6fca90be..1b4a00768693 100644 --- a/packages/google-maps-solar/package.json +++ b/packages/google-maps-solar/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-maps-solar/system-test/fixtures/sample/src/index.js b/packages/google-maps-solar/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 0e0d28fbd6bc..000000000000 --- a/packages/google-maps-solar/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 solar = require('@googlemaps/solar'); - -function main() { - const solarClient = new solar.SolarClient(); -} - -main(); diff --git a/packages/google-maps-solar/system-test/fixtures/sample/src/index.ts b/packages/google-maps-solar/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index fe7e2a8f9f80..000000000000 --- a/packages/google-maps-solar/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {SolarClient} from '@googlemaps/solar'; - -// check that the client class type name can be used -function doStuffWithSolarClient(client: SolarClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const solarClient = new SolarClient(); - doStuffWithSolarClient(solarClient); -} - -main(); diff --git a/packages/google-maps-solar/system-test/install.ts b/packages/google-maps-solar/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-maps-solar/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-marketingplatform-admin/package.json b/packages/google-marketingplatform-admin/package.json index 8093d6e063bd..04a3809df520 100644 --- a/packages/google-marketingplatform-admin/package.json +++ b/packages/google-marketingplatform-admin/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-marketingplatform-admin/system-test/fixtures/sample/src/index.js b/packages/google-marketingplatform-admin/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 58699cb238d4..000000000000 --- a/packages/google-marketingplatform-admin/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 admin = require('@google-ads/marketing-platform-admin'); - -function main() { - const marketingplatformAdminServiceClient = new admin.MarketingplatformAdminServiceClient(); -} - -main(); diff --git a/packages/google-marketingplatform-admin/system-test/fixtures/sample/src/index.ts b/packages/google-marketingplatform-admin/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index bdde84a21dc6..000000000000 --- a/packages/google-marketingplatform-admin/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MarketingplatformAdminServiceClient} from '@google-ads/marketing-platform-admin'; - -// check that the client class type name can be used -function doStuffWithMarketingplatformAdminServiceClient(client: MarketingplatformAdminServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const marketingplatformAdminServiceClient = new MarketingplatformAdminServiceClient(); - doStuffWithMarketingplatformAdminServiceClient(marketingplatformAdminServiceClient); -} - -main(); diff --git a/packages/google-marketingplatform-admin/system-test/install.ts b/packages/google-marketingplatform-admin/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-marketingplatform-admin/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-monitoring-dashboard/package.json b/packages/google-monitoring-dashboard/package.json index b7d061f86113..0fb83f5f4f84 100644 --- a/packages/google-monitoring-dashboard/package.json +++ b/packages/google-monitoring-dashboard/package.json @@ -28,7 +28,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -47,7 +47,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-monitoring-dashboard/system-test/fixtures/sample/src/index.js b/packages/google-monitoring-dashboard/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 687f1831a9d1..000000000000 --- a/packages/google-monitoring-dashboard/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dashboard = require('@google-cloud/monitoring-dashboards'); - -function main() { - const dashboardsServiceClient = new dashboard.DashboardsServiceClient(); -} - -main(); diff --git a/packages/google-monitoring-dashboard/system-test/fixtures/sample/src/index.ts b/packages/google-monitoring-dashboard/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 6496514b914b..000000000000 --- a/packages/google-monitoring-dashboard/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DashboardsServiceClient} from '@google-cloud/monitoring-dashboards'; - -// check that the client class type name can be used -function doStuffWithDashboardsServiceClient(client: DashboardsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dashboardsServiceClient = new DashboardsServiceClient(); - doStuffWithDashboardsServiceClient(dashboardsServiceClient); -} - -main(); diff --git a/packages/google-monitoring-dashboard/system-test/install.ts b/packages/google-monitoring-dashboard/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/google-monitoring-dashboard/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-privacy-dlp/package.json b/packages/google-privacy-dlp/package.json index 131976fd4f0c..ee36c822ea37 100644 --- a/packages/google-privacy-dlp/package.json +++ b/packages/google-privacy-dlp/package.json @@ -43,7 +43,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -62,7 +62,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-privacy-dlp/system-test/fixtures/sample/src/index.js b/packages/google-privacy-dlp/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 91598b7e09f3..000000000000 --- a/packages/google-privacy-dlp/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 dlp = require('@google-cloud/dlp'); - -function main() { - const dlpServiceClient = new dlp.DlpServiceClient(); -} - -main(); diff --git a/packages/google-privacy-dlp/system-test/fixtures/sample/src/index.ts b/packages/google-privacy-dlp/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index ee47ab41adf1..000000000000 --- a/packages/google-privacy-dlp/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DlpServiceClient} from '@google-cloud/dlp'; - -// check that the client class type name can be used -function doStuffWithDlpServiceClient(client: DlpServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dlpServiceClient = new DlpServiceClient(); - doStuffWithDlpServiceClient(dlpServiceClient); -} - -main(); diff --git a/packages/google-privacy-dlp/system-test/install.ts b/packages/google-privacy-dlp/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-privacy-dlp/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-css/package.json b/packages/google-shopping-css/package.json index 5a2e363bea32..54d54d0b3699 100644 --- a/packages/google-shopping-css/package.json +++ b/packages/google-shopping-css/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-css/system-test/fixtures/sample/src/index.js b/packages/google-shopping-css/system-test/fixtures/sample/src/index.js deleted file mode 100644 index c45be2e4d800..000000000000 --- a/packages/google-shopping-css/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 css = require('@google-shopping/css'); - -function main() { - const accountLabelsServiceClient = new css.AccountLabelsServiceClient(); - const accountsServiceClient = new css.AccountsServiceClient(); - const cssProductInputsServiceClient = new css.CssProductInputsServiceClient(); - const cssProductsServiceClient = new css.CssProductsServiceClient(); - const quotaServiceClient = new css.QuotaServiceClient(); -} - -main(); diff --git a/packages/google-shopping-css/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-css/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 1e70aba42390..000000000000 --- a/packages/google-shopping-css/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AccountLabelsServiceClient, AccountsServiceClient, CssProductInputsServiceClient, CssProductsServiceClient, QuotaServiceClient} from '@google-shopping/css'; - -// check that the client class type name can be used -function doStuffWithAccountLabelsServiceClient(client: AccountLabelsServiceClient) { - client.close(); -} -function doStuffWithAccountsServiceClient(client: AccountsServiceClient) { - client.close(); -} -function doStuffWithCssProductInputsServiceClient(client: CssProductInputsServiceClient) { - client.close(); -} -function doStuffWithCssProductsServiceClient(client: CssProductsServiceClient) { - client.close(); -} -function doStuffWithQuotaServiceClient(client: QuotaServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const accountLabelsServiceClient = new AccountLabelsServiceClient(); - doStuffWithAccountLabelsServiceClient(accountLabelsServiceClient); - // check that the client instance can be created - const accountsServiceClient = new AccountsServiceClient(); - doStuffWithAccountsServiceClient(accountsServiceClient); - // check that the client instance can be created - const cssProductInputsServiceClient = new CssProductInputsServiceClient(); - doStuffWithCssProductInputsServiceClient(cssProductInputsServiceClient); - // check that the client instance can be created - const cssProductsServiceClient = new CssProductsServiceClient(); - doStuffWithCssProductsServiceClient(cssProductsServiceClient); - // check that the client instance can be created - const quotaServiceClient = new QuotaServiceClient(); - doStuffWithQuotaServiceClient(quotaServiceClient); -} - -main(); diff --git a/packages/google-shopping-css/system-test/install.ts b/packages/google-shopping-css/system-test/install.ts deleted file mode 100644 index 394f3362d203..000000000000 --- a/packages/google-shopping-css/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-accounts/package.json b/packages/google-shopping-merchant-accounts/package.json index 0b4ba69c002c..d41d8dd01e9c 100644 --- a/packages/google-shopping-merchant-accounts/package.json +++ b/packages/google-shopping-merchant-accounts/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-accounts/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-accounts/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 650bbf84676b..000000000000 --- a/packages/google-shopping-merchant-accounts/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 accounts = require('@google-shopping/accounts'); - -function main() { - const accountIssueServiceClient = new accounts.AccountIssueServiceClient(); - const accountRelationshipsServiceClient = new accounts.AccountRelationshipsServiceClient(); - const accountServicesServiceClient = new accounts.AccountServicesServiceClient(); - const accountsServiceClient = new accounts.AccountsServiceClient(); - const autofeedSettingsServiceClient = new accounts.AutofeedSettingsServiceClient(); - const automaticImprovementsServiceClient = new accounts.AutomaticImprovementsServiceClient(); - const businessIdentityServiceClient = new accounts.BusinessIdentityServiceClient(); - const businessInfoServiceClient = new accounts.BusinessInfoServiceClient(); - const checkoutSettingsServiceClient = new accounts.CheckoutSettingsServiceClient(); - const developerRegistrationServiceClient = new accounts.DeveloperRegistrationServiceClient(); - const emailPreferencesServiceClient = new accounts.EmailPreferencesServiceClient(); - const gbpAccountsServiceClient = new accounts.GbpAccountsServiceClient(); - const homepageServiceClient = new accounts.HomepageServiceClient(); - const lfpProvidersServiceClient = new accounts.LfpProvidersServiceClient(); - const omnichannelSettingsServiceClient = new accounts.OmnichannelSettingsServiceClient(); - const onlineReturnPolicyServiceClient = new accounts.OnlineReturnPolicyServiceClient(); - const programsServiceClient = new accounts.ProgramsServiceClient(); - const regionsServiceClient = new accounts.RegionsServiceClient(); - const shippingSettingsServiceClient = new accounts.ShippingSettingsServiceClient(); - const termsOfServiceAgreementStateServiceClient = new accounts.TermsOfServiceAgreementStateServiceClient(); - const termsOfServiceServiceClient = new accounts.TermsOfServiceServiceClient(); - const userServiceClient = new accounts.UserServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-accounts/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-accounts/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 4871ead842c3..000000000000 --- a/packages/google-shopping-merchant-accounts/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AccountIssueServiceClient, AccountRelationshipsServiceClient, AccountServicesServiceClient, AccountsServiceClient, AutofeedSettingsServiceClient, AutomaticImprovementsServiceClient, BusinessIdentityServiceClient, BusinessInfoServiceClient, CheckoutSettingsServiceClient, DeveloperRegistrationServiceClient, EmailPreferencesServiceClient, GbpAccountsServiceClient, HomepageServiceClient, LfpProvidersServiceClient, OmnichannelSettingsServiceClient, OnlineReturnPolicyServiceClient, ProgramsServiceClient, RegionsServiceClient, ShippingSettingsServiceClient, TermsOfServiceAgreementStateServiceClient, TermsOfServiceServiceClient, UserServiceClient} from '@google-shopping/accounts'; - -// check that the client class type name can be used -function doStuffWithAccountIssueServiceClient(client: AccountIssueServiceClient) { - client.close(); -} -function doStuffWithAccountRelationshipsServiceClient(client: AccountRelationshipsServiceClient) { - client.close(); -} -function doStuffWithAccountServicesServiceClient(client: AccountServicesServiceClient) { - client.close(); -} -function doStuffWithAccountsServiceClient(client: AccountsServiceClient) { - client.close(); -} -function doStuffWithAutofeedSettingsServiceClient(client: AutofeedSettingsServiceClient) { - client.close(); -} -function doStuffWithAutomaticImprovementsServiceClient(client: AutomaticImprovementsServiceClient) { - client.close(); -} -function doStuffWithBusinessIdentityServiceClient(client: BusinessIdentityServiceClient) { - client.close(); -} -function doStuffWithBusinessInfoServiceClient(client: BusinessInfoServiceClient) { - client.close(); -} -function doStuffWithCheckoutSettingsServiceClient(client: CheckoutSettingsServiceClient) { - client.close(); -} -function doStuffWithDeveloperRegistrationServiceClient(client: DeveloperRegistrationServiceClient) { - client.close(); -} -function doStuffWithEmailPreferencesServiceClient(client: EmailPreferencesServiceClient) { - client.close(); -} -function doStuffWithGbpAccountsServiceClient(client: GbpAccountsServiceClient) { - client.close(); -} -function doStuffWithHomepageServiceClient(client: HomepageServiceClient) { - client.close(); -} -function doStuffWithLfpProvidersServiceClient(client: LfpProvidersServiceClient) { - client.close(); -} -function doStuffWithOmnichannelSettingsServiceClient(client: OmnichannelSettingsServiceClient) { - client.close(); -} -function doStuffWithOnlineReturnPolicyServiceClient(client: OnlineReturnPolicyServiceClient) { - client.close(); -} -function doStuffWithProgramsServiceClient(client: ProgramsServiceClient) { - client.close(); -} -function doStuffWithRegionsServiceClient(client: RegionsServiceClient) { - client.close(); -} -function doStuffWithShippingSettingsServiceClient(client: ShippingSettingsServiceClient) { - client.close(); -} -function doStuffWithTermsOfServiceAgreementStateServiceClient(client: TermsOfServiceAgreementStateServiceClient) { - client.close(); -} -function doStuffWithTermsOfServiceServiceClient(client: TermsOfServiceServiceClient) { - client.close(); -} -function doStuffWithUserServiceClient(client: UserServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const accountIssueServiceClient = new AccountIssueServiceClient(); - doStuffWithAccountIssueServiceClient(accountIssueServiceClient); - // check that the client instance can be created - const accountRelationshipsServiceClient = new AccountRelationshipsServiceClient(); - doStuffWithAccountRelationshipsServiceClient(accountRelationshipsServiceClient); - // check that the client instance can be created - const accountServicesServiceClient = new AccountServicesServiceClient(); - doStuffWithAccountServicesServiceClient(accountServicesServiceClient); - // check that the client instance can be created - const accountsServiceClient = new AccountsServiceClient(); - doStuffWithAccountsServiceClient(accountsServiceClient); - // check that the client instance can be created - const autofeedSettingsServiceClient = new AutofeedSettingsServiceClient(); - doStuffWithAutofeedSettingsServiceClient(autofeedSettingsServiceClient); - // check that the client instance can be created - const automaticImprovementsServiceClient = new AutomaticImprovementsServiceClient(); - doStuffWithAutomaticImprovementsServiceClient(automaticImprovementsServiceClient); - // check that the client instance can be created - const businessIdentityServiceClient = new BusinessIdentityServiceClient(); - doStuffWithBusinessIdentityServiceClient(businessIdentityServiceClient); - // check that the client instance can be created - const businessInfoServiceClient = new BusinessInfoServiceClient(); - doStuffWithBusinessInfoServiceClient(businessInfoServiceClient); - // check that the client instance can be created - const checkoutSettingsServiceClient = new CheckoutSettingsServiceClient(); - doStuffWithCheckoutSettingsServiceClient(checkoutSettingsServiceClient); - // check that the client instance can be created - const developerRegistrationServiceClient = new DeveloperRegistrationServiceClient(); - doStuffWithDeveloperRegistrationServiceClient(developerRegistrationServiceClient); - // check that the client instance can be created - const emailPreferencesServiceClient = new EmailPreferencesServiceClient(); - doStuffWithEmailPreferencesServiceClient(emailPreferencesServiceClient); - // check that the client instance can be created - const gbpAccountsServiceClient = new GbpAccountsServiceClient(); - doStuffWithGbpAccountsServiceClient(gbpAccountsServiceClient); - // check that the client instance can be created - const homepageServiceClient = new HomepageServiceClient(); - doStuffWithHomepageServiceClient(homepageServiceClient); - // check that the client instance can be created - const lfpProvidersServiceClient = new LfpProvidersServiceClient(); - doStuffWithLfpProvidersServiceClient(lfpProvidersServiceClient); - // check that the client instance can be created - const omnichannelSettingsServiceClient = new OmnichannelSettingsServiceClient(); - doStuffWithOmnichannelSettingsServiceClient(omnichannelSettingsServiceClient); - // check that the client instance can be created - const onlineReturnPolicyServiceClient = new OnlineReturnPolicyServiceClient(); - doStuffWithOnlineReturnPolicyServiceClient(onlineReturnPolicyServiceClient); - // check that the client instance can be created - const programsServiceClient = new ProgramsServiceClient(); - doStuffWithProgramsServiceClient(programsServiceClient); - // check that the client instance can be created - const regionsServiceClient = new RegionsServiceClient(); - doStuffWithRegionsServiceClient(regionsServiceClient); - // check that the client instance can be created - const shippingSettingsServiceClient = new ShippingSettingsServiceClient(); - doStuffWithShippingSettingsServiceClient(shippingSettingsServiceClient); - // check that the client instance can be created - const termsOfServiceAgreementStateServiceClient = new TermsOfServiceAgreementStateServiceClient(); - doStuffWithTermsOfServiceAgreementStateServiceClient(termsOfServiceAgreementStateServiceClient); - // check that the client instance can be created - const termsOfServiceServiceClient = new TermsOfServiceServiceClient(); - doStuffWithTermsOfServiceServiceClient(termsOfServiceServiceClient); - // check that the client instance can be created - const userServiceClient = new UserServiceClient(); - doStuffWithUserServiceClient(userServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-accounts/system-test/install.ts b/packages/google-shopping-merchant-accounts/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-accounts/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-conversions/package.json b/packages/google-shopping-merchant-conversions/package.json index 5f7d31e1e6cc..ab55823ee66f 100644 --- a/packages/google-shopping-merchant-conversions/package.json +++ b/packages/google-shopping-merchant-conversions/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-conversions/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-conversions/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 835cf92880cd..000000000000 --- a/packages/google-shopping-merchant-conversions/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 conversions = require('@google-shopping/conversions'); - -function main() { - const conversionSourcesServiceClient = new conversions.ConversionSourcesServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-conversions/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-conversions/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d3777f3bc78d..000000000000 --- a/packages/google-shopping-merchant-conversions/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ConversionSourcesServiceClient} from '@google-shopping/conversions'; - -// check that the client class type name can be used -function doStuffWithConversionSourcesServiceClient(client: ConversionSourcesServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const conversionSourcesServiceClient = new ConversionSourcesServiceClient(); - doStuffWithConversionSourcesServiceClient(conversionSourcesServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-conversions/system-test/install.ts b/packages/google-shopping-merchant-conversions/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-conversions/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-datasources/package.json b/packages/google-shopping-merchant-datasources/package.json index 7aad38fb953b..b614f7bfb7f3 100644 --- a/packages/google-shopping-merchant-datasources/package.json +++ b/packages/google-shopping-merchant-datasources/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-datasources/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-datasources/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 897832e4ab26..000000000000 --- a/packages/google-shopping-merchant-datasources/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 datasources = require('@google-shopping/datasources'); - -function main() { - const dataSourcesServiceClient = new datasources.DataSourcesServiceClient(); - const fileUploadsServiceClient = new datasources.FileUploadsServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-datasources/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-datasources/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 337887766cfd..000000000000 --- a/packages/google-shopping-merchant-datasources/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {DataSourcesServiceClient, FileUploadsServiceClient} from '@google-shopping/datasources'; - -// check that the client class type name can be used -function doStuffWithDataSourcesServiceClient(client: DataSourcesServiceClient) { - client.close(); -} -function doStuffWithFileUploadsServiceClient(client: FileUploadsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const dataSourcesServiceClient = new DataSourcesServiceClient(); - doStuffWithDataSourcesServiceClient(dataSourcesServiceClient); - // check that the client instance can be created - const fileUploadsServiceClient = new FileUploadsServiceClient(); - doStuffWithFileUploadsServiceClient(fileUploadsServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-datasources/system-test/install.ts b/packages/google-shopping-merchant-datasources/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-datasources/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-inventories/package.json b/packages/google-shopping-merchant-inventories/package.json index 3e13679a3bb1..808d6340c962 100644 --- a/packages/google-shopping-merchant-inventories/package.json +++ b/packages/google-shopping-merchant-inventories/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile-protos && npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-inventories/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-inventories/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 89e3de410a0e..000000000000 --- a/packages/google-shopping-merchant-inventories/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 inventories = require('@google-shopping/inventories'); - -function main() { - const localInventoryServiceClient = new inventories.LocalInventoryServiceClient(); - const regionalInventoryServiceClient = new inventories.RegionalInventoryServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-inventories/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-inventories/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 011f79c07a16..000000000000 --- a/packages/google-shopping-merchant-inventories/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LocalInventoryServiceClient, RegionalInventoryServiceClient} from '@google-shopping/inventories'; - -// check that the client class type name can be used -function doStuffWithLocalInventoryServiceClient(client: LocalInventoryServiceClient) { - client.close(); -} -function doStuffWithRegionalInventoryServiceClient(client: RegionalInventoryServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const localInventoryServiceClient = new LocalInventoryServiceClient(); - doStuffWithLocalInventoryServiceClient(localInventoryServiceClient); - // check that the client instance can be created - const regionalInventoryServiceClient = new RegionalInventoryServiceClient(); - doStuffWithRegionalInventoryServiceClient(regionalInventoryServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-inventories/system-test/install.ts b/packages/google-shopping-merchant-inventories/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-inventories/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-issueresolution/package.json b/packages/google-shopping-merchant-issueresolution/package.json index e217b56e4d7f..2c6ef7215bfa 100644 --- a/packages/google-shopping-merchant-issueresolution/package.json +++ b/packages/google-shopping-merchant-issueresolution/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-issueresolution/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-issueresolution/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9a78d243de2e..000000000000 --- a/packages/google-shopping-merchant-issueresolution/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 issueresolution = require('@google-shopping/issueresolution'); - -function main() { - const aggregateProductStatusesServiceClient = new issueresolution.AggregateProductStatusesServiceClient(); - const issueResolutionServiceClient = new issueresolution.IssueResolutionServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-issueresolution/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-issueresolution/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 264fe8b6a053..000000000000 --- a/packages/google-shopping-merchant-issueresolution/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AggregateProductStatusesServiceClient, IssueResolutionServiceClient} from '@google-shopping/issueresolution'; - -// check that the client class type name can be used -function doStuffWithAggregateProductStatusesServiceClient(client: AggregateProductStatusesServiceClient) { - client.close(); -} -function doStuffWithIssueResolutionServiceClient(client: IssueResolutionServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const aggregateProductStatusesServiceClient = new AggregateProductStatusesServiceClient(); - doStuffWithAggregateProductStatusesServiceClient(aggregateProductStatusesServiceClient); - // check that the client instance can be created - const issueResolutionServiceClient = new IssueResolutionServiceClient(); - doStuffWithIssueResolutionServiceClient(issueResolutionServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-issueresolution/system-test/install.ts b/packages/google-shopping-merchant-issueresolution/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-issueresolution/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-lfp/package.json b/packages/google-shopping-merchant-lfp/package.json index 8fb93296965a..8b2021c7edd7 100644 --- a/packages/google-shopping-merchant-lfp/package.json +++ b/packages/google-shopping-merchant-lfp/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-lfp/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-lfp/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 9cc6c3b227f2..000000000000 --- a/packages/google-shopping-merchant-lfp/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 lfp = require('@google-shopping/lfp'); - -function main() { - const lfpInventoryServiceClient = new lfp.LfpInventoryServiceClient(); - const lfpMerchantStateServiceClient = new lfp.LfpMerchantStateServiceClient(); - const lfpSaleServiceClient = new lfp.LfpSaleServiceClient(); - const lfpStoreServiceClient = new lfp.LfpStoreServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-lfp/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-lfp/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 3ee47bcd304d..000000000000 --- a/packages/google-shopping-merchant-lfp/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {LfpInventoryServiceClient, LfpMerchantStateServiceClient, LfpSaleServiceClient, LfpStoreServiceClient} from '@google-shopping/lfp'; - -// check that the client class type name can be used -function doStuffWithLfpInventoryServiceClient(client: LfpInventoryServiceClient) { - client.close(); -} -function doStuffWithLfpMerchantStateServiceClient(client: LfpMerchantStateServiceClient) { - client.close(); -} -function doStuffWithLfpSaleServiceClient(client: LfpSaleServiceClient) { - client.close(); -} -function doStuffWithLfpStoreServiceClient(client: LfpStoreServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const lfpInventoryServiceClient = new LfpInventoryServiceClient(); - doStuffWithLfpInventoryServiceClient(lfpInventoryServiceClient); - // check that the client instance can be created - const lfpMerchantStateServiceClient = new LfpMerchantStateServiceClient(); - doStuffWithLfpMerchantStateServiceClient(lfpMerchantStateServiceClient); - // check that the client instance can be created - const lfpSaleServiceClient = new LfpSaleServiceClient(); - doStuffWithLfpSaleServiceClient(lfpSaleServiceClient); - // check that the client instance can be created - const lfpStoreServiceClient = new LfpStoreServiceClient(); - doStuffWithLfpStoreServiceClient(lfpStoreServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-lfp/system-test/install.ts b/packages/google-shopping-merchant-lfp/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-lfp/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-notifications/package.json b/packages/google-shopping-merchant-notifications/package.json index 64bc95b39e35..9772425249ac 100644 --- a/packages/google-shopping-merchant-notifications/package.json +++ b/packages/google-shopping-merchant-notifications/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-notifications/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-notifications/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 2f1788986497..000000000000 --- a/packages/google-shopping-merchant-notifications/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 notifications = require('@google-shopping/notifications'); - -function main() { - const notificationsApiServiceClient = new notifications.NotificationsApiServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-notifications/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-notifications/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index f3631a8cf58f..000000000000 --- a/packages/google-shopping-merchant-notifications/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {NotificationsApiServiceClient} from '@google-shopping/notifications'; - -// check that the client class type name can be used -function doStuffWithNotificationsApiServiceClient(client: NotificationsApiServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const notificationsApiServiceClient = new NotificationsApiServiceClient(); - doStuffWithNotificationsApiServiceClient(notificationsApiServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-notifications/system-test/install.ts b/packages/google-shopping-merchant-notifications/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-notifications/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-ordertracking/package.json b/packages/google-shopping-merchant-ordertracking/package.json index 45b65b37c580..94f0604f0179 100644 --- a/packages/google-shopping-merchant-ordertracking/package.json +++ b/packages/google-shopping-merchant-ordertracking/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-ordertracking/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-ordertracking/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b4033d178632..000000000000 --- a/packages/google-shopping-merchant-ordertracking/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 ordertracking = require('@google-shopping/ordertracking'); - -function main() { - const orderTrackingSignalsServiceClient = new ordertracking.OrderTrackingSignalsServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-ordertracking/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-ordertracking/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 41ef6d7cb4ba..000000000000 --- a/packages/google-shopping-merchant-ordertracking/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {OrderTrackingSignalsServiceClient} from '@google-shopping/ordertracking'; - -// check that the client class type name can be used -function doStuffWithOrderTrackingSignalsServiceClient(client: OrderTrackingSignalsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const orderTrackingSignalsServiceClient = new OrderTrackingSignalsServiceClient(); - doStuffWithOrderTrackingSignalsServiceClient(orderTrackingSignalsServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-ordertracking/system-test/install.ts b/packages/google-shopping-merchant-ordertracking/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-ordertracking/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-products/package.json b/packages/google-shopping-merchant-products/package.json index c507ecdc408d..c3368e48d3e2 100644 --- a/packages/google-shopping-merchant-products/package.json +++ b/packages/google-shopping-merchant-products/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-products/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-products/system-test/fixtures/sample/src/index.js deleted file mode 100644 index ed984d0b9d37..000000000000 --- a/packages/google-shopping-merchant-products/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 products = require('@google-shopping/products'); - -function main() { - const productInputsServiceClient = new products.ProductInputsServiceClient(); - const productsServiceClient = new products.ProductsServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-products/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-products/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9447fcaa6871..000000000000 --- a/packages/google-shopping-merchant-products/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ProductInputsServiceClient, ProductsServiceClient} from '@google-shopping/products'; - -// check that the client class type name can be used -function doStuffWithProductInputsServiceClient(client: ProductInputsServiceClient) { - client.close(); -} -function doStuffWithProductsServiceClient(client: ProductsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const productInputsServiceClient = new ProductInputsServiceClient(); - doStuffWithProductInputsServiceClient(productInputsServiceClient); - // check that the client instance can be created - const productsServiceClient = new ProductsServiceClient(); - doStuffWithProductsServiceClient(productsServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-products/system-test/install.ts b/packages/google-shopping-merchant-products/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-products/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-promotions/package.json b/packages/google-shopping-merchant-promotions/package.json index 4509604343b9..16ddf5b22022 100644 --- a/packages/google-shopping-merchant-promotions/package.json +++ b/packages/google-shopping-merchant-promotions/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-promotions/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-promotions/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 402da7907bcc..000000000000 --- a/packages/google-shopping-merchant-promotions/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 promotions = require('@google-shopping/promotions'); - -function main() { - const promotionsServiceClient = new promotions.PromotionsServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-promotions/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-promotions/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 24500e8f9ff2..000000000000 --- a/packages/google-shopping-merchant-promotions/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {PromotionsServiceClient} from '@google-shopping/promotions'; - -// check that the client class type name can be used -function doStuffWithPromotionsServiceClient(client: PromotionsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const promotionsServiceClient = new PromotionsServiceClient(); - doStuffWithPromotionsServiceClient(promotionsServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-promotions/system-test/install.ts b/packages/google-shopping-merchant-promotions/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-promotions/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-quota/package.json b/packages/google-shopping-merchant-quota/package.json index 2b0c14ede5e3..60fa41dfacbc 100644 --- a/packages/google-shopping-merchant-quota/package.json +++ b/packages/google-shopping-merchant-quota/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-quota/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-quota/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 2c8dfbf06835..000000000000 --- a/packages/google-shopping-merchant-quota/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 quota = require('@google-shopping/quota'); - -function main() { - const accountLimitsServiceClient = new quota.AccountLimitsServiceClient(); - const quotaServiceClient = new quota.QuotaServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-quota/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-quota/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index e9a599b6bb88..000000000000 --- a/packages/google-shopping-merchant-quota/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {AccountLimitsServiceClient, QuotaServiceClient} from '@google-shopping/quota'; - -// check that the client class type name can be used -function doStuffWithAccountLimitsServiceClient(client: AccountLimitsServiceClient) { - client.close(); -} -function doStuffWithQuotaServiceClient(client: QuotaServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const accountLimitsServiceClient = new AccountLimitsServiceClient(); - doStuffWithAccountLimitsServiceClient(accountLimitsServiceClient); - // check that the client instance can be created - const quotaServiceClient = new QuotaServiceClient(); - doStuffWithQuotaServiceClient(quotaServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-quota/system-test/install.ts b/packages/google-shopping-merchant-quota/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-quota/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-reports/package.json b/packages/google-shopping-merchant-reports/package.json index a168d64457e7..1e5244fef76d 100644 --- a/packages/google-shopping-merchant-reports/package.json +++ b/packages/google-shopping-merchant-reports/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile-protos && npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-reports/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-reports/system-test/fixtures/sample/src/index.js deleted file mode 100644 index b918ad1f5557..000000000000 --- a/packages/google-shopping-merchant-reports/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 reports = require('@google-shopping/reports'); - -function main() { - const reportServiceClient = new reports.ReportServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-reports/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-reports/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index bfb3847a44f7..000000000000 --- a/packages/google-shopping-merchant-reports/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {ReportServiceClient} from '@google-shopping/reports'; - -// check that the client class type name can be used -function doStuffWithReportServiceClient(client: ReportServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const reportServiceClient = new ReportServiceClient(); - doStuffWithReportServiceClient(reportServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-reports/system-test/install.ts b/packages/google-shopping-merchant-reports/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-reports/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-shopping-merchant-reviews/package.json b/packages/google-shopping-merchant-reviews/package.json index 121b14228a55..c402e9187fcf 100644 --- a/packages/google-shopping-merchant-reviews/package.json +++ b/packages/google-shopping-merchant-reviews/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-shopping-merchant-reviews/system-test/fixtures/sample/src/index.js b/packages/google-shopping-merchant-reviews/system-test/fixtures/sample/src/index.js deleted file mode 100644 index f01acd8c55fd..000000000000 --- a/packages/google-shopping-merchant-reviews/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 reviews = require('@google-shopping/reviews'); - -function main() { - const merchantReviewsServiceClient = new reviews.MerchantReviewsServiceClient(); - const productReviewsServiceClient = new reviews.ProductReviewsServiceClient(); -} - -main(); diff --git a/packages/google-shopping-merchant-reviews/system-test/fixtures/sample/src/index.ts b/packages/google-shopping-merchant-reviews/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 408173fb05aa..000000000000 --- a/packages/google-shopping-merchant-reviews/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {MerchantReviewsServiceClient, ProductReviewsServiceClient} from '@google-shopping/reviews'; - -// check that the client class type name can be used -function doStuffWithMerchantReviewsServiceClient(client: MerchantReviewsServiceClient) { - client.close(); -} -function doStuffWithProductReviewsServiceClient(client: ProductReviewsServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const merchantReviewsServiceClient = new MerchantReviewsServiceClient(); - doStuffWithMerchantReviewsServiceClient(merchantReviewsServiceClient); - // check that the client instance can be created - const productReviewsServiceClient = new ProductReviewsServiceClient(); - doStuffWithProductReviewsServiceClient(productReviewsServiceClient); -} - -main(); diff --git a/packages/google-shopping-merchant-reviews/system-test/install.ts b/packages/google-shopping-merchant-reviews/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-shopping-merchant-reviews/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-storage-control/package.json b/packages/google-storage-control/package.json index 9862ec7542a9..3e8e1d94064a 100644 --- a/packages/google-storage-control/package.json +++ b/packages/google-storage-control/package.json @@ -39,7 +39,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run fix-and-gen && npm run compile-protos && npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -60,7 +60,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "prettier": "^3.6.2", "sinon": "21.0.3", "typescript": "^5.8.2" diff --git a/packages/google-storage-control/system-test/fixtures/sample/src/index.js b/packages/google-storage-control/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 323d572225dc..000000000000 --- a/packages/google-storage-control/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 control = require('@google-cloud/storage-control'); - -function main() { - const storageControlClient = new control.StorageControlClient(); -} - -main(); diff --git a/packages/google-storage-control/system-test/fixtures/sample/src/index.ts b/packages/google-storage-control/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 5334c6f67345..000000000000 --- a/packages/google-storage-control/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {StorageControlClient} from '@google-cloud/storage-control'; - -// check that the client class type name can be used -function doStuffWithStorageControlClient(client: StorageControlClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const storageControlClient = new StorageControlClient(); - doStuffWithStorageControlClient(storageControlClient); -} - -main(); diff --git a/packages/google-storage-control/system-test/install.ts b/packages/google-storage-control/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-storage-control/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-storagetransfer/package.json b/packages/google-storagetransfer/package.json index 418a503670a9..ce23718a39c5 100644 --- a/packages/google-storagetransfer/package.json +++ b/packages/google-storagetransfer/package.json @@ -40,7 +40,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "dependencies": { @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-storagetransfer/system-test/fixtures/sample/src/index.js b/packages/google-storagetransfer/system-test/fixtures/sample/src/index.js deleted file mode 100644 index e0ff74f3f0d0..000000000000 --- a/packages/google-storagetransfer/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 storagetransfer = require('@google-cloud/storage-transfer'); - -function main() { - const storageTransferServiceClient = new storagetransfer.StorageTransferServiceClient(); -} - -main(); diff --git a/packages/google-storagetransfer/system-test/fixtures/sample/src/index.ts b/packages/google-storagetransfer/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 9dba7da5d157..000000000000 --- a/packages/google-storagetransfer/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {StorageTransferServiceClient} from '@google-cloud/storage-transfer'; - -// check that the client class type name can be used -function doStuffWithStorageTransferServiceClient(client: StorageTransferServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const storageTransferServiceClient = new StorageTransferServiceClient(); - doStuffWithStorageTransferServiceClient(storageTransferServiceClient); -} - -main(); diff --git a/packages/google-storagetransfer/system-test/install.ts b/packages/google-storagetransfer/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-storagetransfer/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/google-streetview-publish/package.json b/packages/google-streetview-publish/package.json index a640fad33ba7..d7364b042921 100644 --- a/packages/google-streetview-publish/package.json +++ b/packages/google-streetview-publish/package.json @@ -38,7 +38,7 @@ "lint": "gts check", "postpack": "minifyProtoJson", "prepare": "npm run compile", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", "prelint": "cd samples; npm link ../; npm i" @@ -59,7 +59,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, diff --git a/packages/google-streetview-publish/system-test/fixtures/sample/src/index.js b/packages/google-streetview-publish/system-test/fixtures/sample/src/index.js deleted file mode 100644 index 35325dc86752..000000000000 --- a/packages/google-streetview-publish/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 publish = require('@googlemaps/streetview-publish'); - -function main() { - const streetViewPublishServiceClient = new publish.StreetViewPublishServiceClient(); -} - -main(); diff --git a/packages/google-streetview-publish/system-test/fixtures/sample/src/index.ts b/packages/google-streetview-publish/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index d4abc43eef46..000000000000 --- a/packages/google-streetview-publish/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {StreetViewPublishServiceClient} from '@googlemaps/streetview-publish'; - -// check that the client class type name can be used -function doStuffWithStreetViewPublishServiceClient(client: StreetViewPublishServiceClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const streetViewPublishServiceClient = new StreetViewPublishServiceClient(); - doStuffWithStreetViewPublishServiceClient(streetViewPublishServiceClient); -} - -main(); diff --git a/packages/google-streetview-publish/system-test/install.ts b/packages/google-streetview-publish/system-test/install.ts deleted file mode 100644 index f66069aa3940..000000000000 --- a/packages/google-streetview-publish/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2026 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - cjs: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -}); diff --git a/packages/grafeas/package.json b/packages/grafeas/package.json index 364b88950c9c..6b4d34bede9c 100644 --- a/packages/grafeas/package.json +++ b/packages/grafeas/package.json @@ -42,7 +42,6 @@ "linkinator": "^6.1.2", "long": "^5.3.1", "mocha": "^11.1.0", - "pack-n-play": "^3.0.0", "sinon": "21.0.3", "typescript": "^5.8.2" }, @@ -59,7 +58,7 @@ "prelint": "cd samples; npm link ../; npm i", "postpack": "minifyProtoJson", "samples-test": "cd samples/ && npm link ../ && npm i && npm test", - "system-test": "c8 mocha build/system-test", + "system-test": "echo no system tests", "test": "c8 mocha build/test" }, "license": "Apache-2.0", diff --git a/packages/grafeas/system-test/fixtures/sample/src/index.js b/packages/grafeas/system-test/fixtures/sample/src/index.js deleted file mode 100644 index d60f8f045688..000000000000 --- a/packages/grafeas/system-test/fixtures/sample/src/index.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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 grafeas = require('@google-cloud/grafeas'); - -function main() { - const grafeasClient = new grafeas.GrafeasClient(); -} - -main(); diff --git a/packages/grafeas/system-test/fixtures/sample/src/index.ts b/packages/grafeas/system-test/fixtures/sample/src/index.ts deleted file mode 100644 index 434f75598df3..000000000000 --- a/packages/grafeas/system-test/fixtures/sample/src/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** -// ** All changes to this file may be overwritten. ** - -import {GrafeasClient} from '@google-cloud/grafeas'; - -// check that the client class type name can be used -function doStuffWithGrafeasClient(client: GrafeasClient) { - client.close(); -} - -function main() { - // check that the client instance can be created - const grafeasClient = new GrafeasClient(); - doStuffWithGrafeasClient(grafeasClient); -} - -main(); diff --git a/packages/grafeas/system-test/install.ts b/packages/grafeas/system-test/install.ts deleted file mode 100644 index 2a505d6df0c5..000000000000 --- a/packages/grafeas/system-test/install.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2025 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** 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'; - -describe('📦 pack-n-play test', () => { - - it('TypeScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'TypeScript user can use the type definitions', - ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString() - } - }; - await packNTest(options); - }); - - it('JavaScript code', async function() { - this.timeout(300000); - const options = { - packageDir: process.cwd(), - sample: { - description: 'JavaScript user can use the library', - ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString() - } - }; - await packNTest(options); - }); - -});