Skip to content

Commit ce99d2d

Browse files
committed
run new tests
1 parent 9ebd286 commit ce99d2d

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
import {resolve} from 'path';
9+
import {runYarnInstall} from '../Utils';
10+
import runJest from '../runJest';
11+
12+
const DIR = resolve(__dirname, '../explicit-resource-management');
13+
14+
beforeAll(() => {
15+
runYarnInstall(DIR);
16+
});
17+
18+
test('Explicit resource management is supported', () => {
19+
const result = runJest(DIR);
20+
expect(result.exitCode).toBe(0);
21+
});

e2e/explicit-resource-management/yarn.lock

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,10 @@ __metadata:
3535
languageName: node
3636
linkType: hard
3737

38-
"core-js@npm:^3.35.1":
39-
version: 3.35.1
40-
resolution: "core-js@npm:3.35.1"
41-
checksum: e246af6b634be3763ffe3ce6ac4601b4dc5b928006fb6c95e5d08ecd82a2413bf36f00ffe178b89c9a8e94000288933a78a9881b2c9498e6cf312b031013b952
42-
languageName: node
43-
linkType: hard
44-
4538
"root-workspace-0b6124@workspace:.":
4639
version: 0.0.0-use.local
4740
resolution: "root-workspace-0b6124@workspace:."
4841
dependencies:
4942
"@babel/plugin-proposal-explicit-resource-management": ^7.23.9
50-
core-js: ^3.35.1
5143
languageName: unknown
5244
linkType: soft

0 commit comments

Comments
 (0)