mirror of https://github.com/facebook/jest.git
13 lines
343 B
TypeScript
13 lines
343 B
TypeScript
/**
|
|
* 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.
|
|
*/
|
|
|
|
test('v8 module', () => {
|
|
expect(() => require('v8')).not.toThrow();
|
|
|
|
expect(require('v8').getHeapStatistics().total_heap_size).toBeDefined();
|
|
});
|