jest/e2e/run-programmatically/esm.js

13 lines
367 B
JavaScript

/**
* 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 {run} from 'jest';
// Running Jest like this is not officially supported,
// but it is common practice until there is a proper API as a substitute.
run(process.argv);