Skip to content

Rewrite obsolete Tests suite (datasets removed from backend) #61

Description

@hamza-aamer

The Tests workflow (test/routes.test.js, ~1269 lines) is obsolete: it require()s ../models/dataset, but datasets were moved out of the backend (into Dataset-store) and no such model exists, so the suite fails at load with MODULE_NOT_FOUND. It tests dataset/label/experiment functionality the service no longer owns.

Test tooling (nyc, mocha, chai, supertest, sinon, nock) was added to devDependencies and Tests now also run on PRs to main, but the suite needs a full rewrite against the current backend API.

The production-publish gate was removed (publish now runs on push to main, ungated) to unblock deploys. Re-introduce a meaningful gate once the suite is rewritten.

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