jest/e2e/stack-trace-no-capture-stac.../__tests__/runtimeError.test.js

14 lines
295 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.
*/
'use strict';
Error.captureStackTrace = undefined;
test('some test', () => {
expect(1).toBe(2);
});