Closed jwir3 closed 11 months ago
One specific use case reported in the [original issue](https://github.com/chromaui/test-archiver/issues/14) has been fixed, but this is still possible when it's not the top-level route that causes the conflict. To replicate: * Clone [https://github.com/tevanoff/chromatic-e2e-issues](https://github.com/tevanoff/chromatic-e2e-issues) * Run `yarn playwright test conflict.test.ts` * Then: ``` $ yarn playwright test conflict.test.ts ... Error: EEXIST: file already exists, mkdir ... ``` * Or (depending on which archives first): ``` yarn playwright test conflict.test.ts ... Error: EISDIR: illegal operation on a directory, open ```
Issue: CAP-1204
What Changed
This does three things:
SourceMapper
, which follows a builder pattern.Content-Type
header have a file extension.How to test
There are two ways:
yarn test:playwright
and verify everything passes.Change Type
maintenance
documentation
patch
minor
major
📦 Published PR as canary version:
0.0.31--canary.27.3c12abd.0
:sparkles: Test out this PR locally via: ```bash npm install @chromaui/test-archiver@0.0.31--canary.27.3c12abd.0 # or yarn add @chromaui/test-archiver@0.0.31--canary.27.3c12abd.0 ```