pdfkit/tests/unit/setupTests.js
Jim Pravetz 554cf3d9ad Changed addNamedJavaScript to accept string instead of (nodejs-only) buffer.
Got jest tests running by setting setupFilesAfterEnv to include toContainChunk (not clear why this became necessary).
Modified toContainChunk to accept RegExp for all but first parameter of array.
AcroForms partial tests working.
2019-07-24 13:56:24 -07:00

5 lines
66 B
JavaScript

import matcher from './toContainChunk';
expect.extend(matcher);