Remove carriage return when loading snapshots
MODIFY
packages/@romejs/core/test-worker/SnapshotManager.ts
packages/@romejs/core/test-worker/SnapshotManager.ts
@@ -76,12 +76,11 @@ export default class SnapshotManager {
}
const file = await readFileText(snapshotFilename);
- this.raw = file;
-
const parser = createSnapshotParser({
path: snapshotFilename,
input: file,
});
+ this.raw = parser.input;
const nodes = parser.parse();

Remove carriage return when loading snapshots