Skip to content

Import failing from Jest since v5.0.0 #32

@RubenVerborgh

Description

@RubenVerborgh

Since v5.0.0, we get:

    D:\a\community-server\community-server\node_modules\escape-string-regexp\index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export default function escapeStringRegexp(string) {
                                                                                             ^^^^^^

    SyntaxError: Unexpected token 'export'

Looks like the move to ESM might not have been entirely successful.

See https://github.com/solid/community-server/pull/700/checks?check_run_id=2500018508

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