Skip to content

No tests exist for named modules #23

Open
@abadc0de

Description

@abadc0de

A loader implementation not supporting named modules will pass all tests for non-optional features. Some new tests along these lines should cover it:

define("foo", ["bar"], function(bar) {
    amdJS.assert("bar" === bar.name, "named_simple: multiple modules");
});

define("bar", function() {
    return { name: "bar" };
});

If there's any interest in this, I can make a pull request later.

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