main
js 18 lines 423 Bytes
Raw
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
8 */
9
10 describe('gate', () => {
11 //@gate false
12 it('should expect an error for this test', () => {
13 throw new Error('This test should fail');
14 });
15
16 //@gate true
17 it('should not an error for this test', () => {});
18 });