Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Deprecation warning, install issue #6

@inorganik

Description

@inorganik

Great work on this! Finally testing it out. With current jest.config.js file:

setupTestFrameworkScriptFile: '<rootDir>/src/setup-jest.ts',

throws a deprecation warning: "Option "setupTestFrameworkScriptFile" was replaced by configuration "setupFilesAfterEnv", which supports multiple paths."

It should be replaced with:

setupFilesAfterEnv: ['<rootDir>/src/setup-jest.ts'],

I also noticed that I needed to install the schematic locally in the project before I could run it:

npm i @briebug/jest-schematic -D.

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