replace.node.test.js 207 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
/**
 * @jest-environment node
 */

/* eslint-env jest */
import replace from '../replace';

test('throws an error when run in node environment', () => {
  expect(replace).toThrowErrorMatchingSnapshot();
});