Skip to content

Add tests to testing/ and std/ with Elsa.tests #89

@littledivy

Description

@littledivy

Add tests for all the js/ts files inside testing/ and std/

The test file should be named in the pattern *_test.js for elsa to identify it as a test file.

Example:

// some_test.js
import { eq } from "./utils.ts";

Elsa.tests({
  "test mode == `test`": function () {
    eq(Elsa.mode, "test");
  },
});

and run ./elsa test

Marking as a good first issue as anyone with Deno.test experience can give it a try 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions