Skip to content

Commit 996be87

Browse files
rubennortefacebook-github-bot
authored andcommitted
Add Playground test (facebook#51220)
Summary: Pull Request resolved: facebook#51220 Changelog: [internal] Just a playground file to do quick tests in the Fantom environment. For example, I just used it to know if Hermes supports `AggregateError`, which does: ``` it('...', () => { console.log('AggregateError', global.AggregateError); }); ``` {F1977824992} Reviewed By: lenaic Differential Revision: D74474870 fbshipit-source-id: cbe8a287738b09afe336ae479cc3105d1474e58b
1 parent 32fafdf commit 996be87

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
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+
* @flow strict-local
8+
* @format
9+
* @oncall react_native
10+
*/
11+
12+
import '@react-native/fantom/src/setUpDefaultReactNativeEnvironment';
13+
14+
// eslint-disable-next-line no-unused-vars
15+
import * as Fantom from '@react-native/fantom';
16+
17+
describe('Playground', () => {
18+
it('...', () => {
19+
// Add your tests here, but do NOT commit them.
20+
});
21+
});

0 commit comments

Comments
 (0)