Skip to content

Issue with Jest v28 #33842

@billnbell

Description

@billnbell

Jest needs { code: } process() fix per upgrade guide.

+  process: (_, filename) => {
+    return {
+      code: `module.exports = {
+        testUri:
+          ${JSON.stringify(
+            path.relative(__dirname, filename).replace(/\\/g, '/'),
+          )}
+      };`,
+    }
+  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: AttentionIssues where the author has responded to feedback.Needs: Issue TemplateThis issue does not make use of the Issue Template, and may be missing necessary information.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions