Skip to content

test suite has unrelated failures: custom provider hook + module fixture libsql binary #109

@onmax

Description

@onmax

Context

While working on #107, pnpm test still fails for unrelated/pre-existing reasons.

Reproduction

pnpm test test/custom-provider.test.ts
pnpm test test/module.test.ts

Observed

A) test/custom-provider.test.ts

  • Failing assertion:
  • expected databaseProvider to be "custom"
  • received "none"

B) test/module.test.ts

  • Suite fails before running assertions due to environment/binary resolution:
  • ENOENT: no such file or directory, realpath '.../node_modules/.pnpm/libsql@0.5.22/node_modules/@libsql/linux-x64-gnu'
  • The module suite tests are skipped because fixture bootstrap fails.

Expected

  • Custom provider hook test resolves provider as custom.
  • Module fixture should run without host-specific libsql binary failures (or skip with an explicit guard).

Scope

This issue is intentionally separate from #107 type inference changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions