Skip to content

Make fixture update code more consistent #1168

@pokey

Description

@pokey

Use normalisation code for updating fixtures in

const outputFixture = {
...fixture,
finalState: undefined,
decorations: undefined,
returnValue: undefined,
thrownError: { name: error.name },
};
await fsp.writeFile(file, serialize(outputFixture));
, and other places we upgrade fixtures from the Update fixtures launch config

Factored out of todo item in description of #942

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityImprovements to code quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions