Skip to content

v2.9.1: Remove tautological WASM integration tests #160

Closed

Description

@divijg19

wasm.integration.test.ts asserted tautologies (typeof result === "boolean", conditional expectations that pass on null) and called vi.resetModules() in beforeEach, which does not reset the state of the module already imported at the top. The "cached result" and "concurrent attempts" tests shared stale state from the first call and passed trivially. Real fallback/parity behaviour is covered by wasmParity.test.ts and generatorFallback.test.ts, so the file was removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions