Skip to content

thread '<unnamed>' panicked at 'assertion failed: (left == right) #17954

@spg

Description

@spg

When running tests with Vitest, I have the following error:

[...snip...]
 ❯ src/authorization/authorization.endpoints.integration-test.ts (3)
   ❯ Authorization API endpoints (3)
     ⠸ [ beforeAll ]
     · GET /v1/authorization/training (3)
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`: failed to delete napi ref', query-engine/query-engine-node-api/src/engine.rs:131:1
stack backtrace:
   0:        0x11cf0eea8 - _napi_register_module_v1
   1:        0x11c8dab4c - <unknown>
   2:        0x11ceed3c8 - _napi_register_module_v1
   3:        0x11cf122f4 - _napi_register_module_v1
   4:        0x11cf11f54 - _napi_register_module_v1
   5:        0x11cf12e2c - _napi_register_module_v1
   6:        0x11cf129b8 - _napi_register_module_v1
   7:        0x11cf12928 - _napi_register_module_v1
   8:        0x11cf12904 - _napi_register_module_v1
   9:        0x11d192618 - _napi_register_module_v1
  10:        0x11d1927fc - _napi_register_module_v1
  11:        0x11d199f20 - _napi_register_module_v1
  12:        0x11c844450 - <unknown>
fatal runtime error: failed to initiate panic, error 5
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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