Skip to content

Commit

Permalink
run new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 20, 2024
1 parent 9ebd286 commit ce99d2d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
21 changes: 21 additions & 0 deletions 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);
});
8 changes: 0 additions & 8 deletions e2e/explicit-resource-management/yarn.lock
Expand Up @@ -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

0 comments on commit ce99d2d

Please sign in to comment.