Skip to content

Add ability to create singletons directly #1

@gregjacobs

Description

@gregjacobs

Probably use singleton: true.

Also store a reference to the original class as a property on the singleton instance, so that it can be extended or instantiated differently for unit tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions