11 lines
207 B
JavaScript
11 lines
207 B
JavaScript
/**
|
|
* @jest-environment node
|
|
*/
|
|
|
|
/* eslint-env jest */
|
|
import replace from '../replace';
|
|
|
|
test('throws an error when run in node environment', () => {
|
|
expect(replace).toThrowErrorMatchingSnapshot();
|
|
});
|