path-serializer
v0.0.6
Published
path-serializer
Downloads
1,870
Readme
path-serializer
Usage
// vitest.setup.ts
import { createSnapshotSerializer } from 'path-serializer';
expect.addSnapshotSerializer(
createSnapshotSerializer({
workspace: path.join(__dirname, '..'),
}),
);