Skip to content

Example tests not working #139

Closed
Closed
@rainerhahnekamp

Description

@rainerhahnekamp

I just cloned the git repo and tried to run the example tests locally.

Run following commands:

yarn --frozen-lockfile
yarn nx test

All tests fail. That's what I get for the first one and more or less the same for the rest.

 FAIL   Example  apps/example-app/app/examples/02-input-output.spec.ts
  ● Test suite failed to run

    projects/testing-library/src/lib/testing-library.ts:306:41 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.

    306 if (typeof afterEach === 'function' && !process.env.ATL_SKIP_AUTO_CLEANUP) {
                                                ~~~~~~~

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