Skip to content

json5 is not loaded in tests #1

@kerrickstaley

Description

@kerrickstaley

It looks like when you try to do

import en from './i18n/en.json5';

inside a test, the variable en is populated with the literal string value "en.json5" instead of the module's contents.

I added two tests in this commit that demonstrate this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionIndicates that this issue / PR needs to be discussed in detail before further steps can be takensupportIndicates a request for help / clarification

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions