File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed
explicit-resource-management Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 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+ } ) ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments