Skip to content

Setting to use old versions of Mavo #45

@LeaVerou

Description

@LeaVerou

I was trying to figure out what caused this regression and I realized this would be incredibly useful: A setting to use an older version of Mavo in the tests.

Not sure yet if this can be generalized into an htest feature, or if we should implement it here. I suspect it's simpler to implement it here and figure out if/how to generalize later.

An easy but dirty way to implement this is to use a URL param (?version=v0.2.0) and document.write() to output a <script> element with the correct URL. The downside is we'd need to do this on every single tests page. Maybe it's time to move htest to 11ty?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions