diff --git a/e2e/__tests__/explicitResourceManagement.test.ts b/e2e/__tests__/explicitResourceManagement.test.ts new file mode 100644 index 000000000000..477cb92241e1 --- /dev/null +++ b/e2e/__tests__/explicitResourceManagement.test.ts @@ -0,0 +1,21 @@ +/** + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import {resolve} from 'path'; +import {runYarnInstall} from '../Utils'; +import runJest from '../runJest'; + +const DIR = resolve(__dirname, '../explicit-resource-management'); + +beforeAll(() => { + runYarnInstall(DIR); +}); + +test('Explicit resource management is supported', () => { + const result = runJest(DIR); + expect(result.exitCode).toBe(0); +}); diff --git a/e2e/explicit-resource-management/yarn.lock b/e2e/explicit-resource-management/yarn.lock index fd195e1bd34c..f4b5a7c66de1 100644 --- a/e2e/explicit-resource-management/yarn.lock +++ b/e2e/explicit-resource-management/yarn.lock @@ -35,18 +35,10 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^3.35.1": - version: 3.35.1 - resolution: "core-js@npm:3.35.1" - checksum: e246af6b634be3763ffe3ce6ac4601b4dc5b928006fb6c95e5d08ecd82a2413bf36f00ffe178b89c9a8e94000288933a78a9881b2c9498e6cf312b031013b952 - languageName: node - linkType: hard - "root-workspace-0b6124@workspace:.": version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: "@babel/plugin-proposal-explicit-resource-management": ^7.23.9 - core-js: ^3.35.1 languageName: unknown linkType: soft