Skip to content

tests: don't depend on specific esbuild version for tests #15106

Description

@kapouer

Hi,
884439b

shows that even esbuild patch releases can change the outcome of the file / directory names,
en/mybatch/chunk-TOZKWCDE.js becoming en/mybatch/chunk-MO3Q4WT6.js.

The tests shouldn't be pinned to such a specific esbuild behavior.

In particular, we see this in Debian, where an esbuild update makes hugo test suite fail.

Still, it's not a catastrophic nor urgent problem (in Debian we can just remove the assertions and be done with it).

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