You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current test suite (Karma + Jasmine, run via npm run test:all across the min/debug/wasm/simd/es6 targets) is outdated and doesn't reflect the current API and build matrix. Refresh it so the tests are meaningful and green against the latest library.
Motivation
The library has evolved (TS sources, ES6 builds, the new experimental Node.js build) but the specs haven't kept pace.
Outdated/irrelevant tests reduce trust in CI and hide real regressions.
Scope / tasks
Audit existing specs vs. the current public API; remove/replace dead or irrelevant tests.
Ensure each build target in test:all (min, debug, wasm, simd, embed-es6, es6, es6-simd) has at least smoke coverage that actually exercises NFT load + process().
Refresh fixtures (camera params, NFT dataset, test image) to match the examples.
Confirm the Karma + Jasmine config is current (versions bumped in the recent dep work) and stable headless/CI.
Make npm test reliably green locally and in CI.
Notes
Related: coverage reporting tracked separately (see the Codecov issue).
The experimental Node.js build (Feature node libs #140) is currently untested — node-specific tests can be folded in here or split out later.
Summary
The current test suite (Karma + Jasmine, run via
npm run test:allacross the min/debug/wasm/simd/es6 targets) is outdated and doesn't reflect the current API and build matrix. Refresh it so the tests are meaningful and green against the latest library.Motivation
Scope / tasks
test:all(min, debug, wasm, simd, embed-es6, es6, es6-simd) has at least smoke coverage that actually exercises NFT load +process().npm testreliably green locally and in CI.Notes