Skip to content

Support NestJS (test with jest) #20619

@birkskyum

Description

@birkskyum

Repro:

  • git clone https://github.com/nestjs/typescript-starter.git project (From Nest docs frontpage)
  • cd project
  • deno task test or deno task --unstable test or deno --unstable task test

Expected:

$ jest
 PASS  src/app.controller.spec.ts
  AppController
    getHello
      ✓ should return "Hello World!" (1 ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        1.068 s
Ran all test suites.

Actual

➜ deno --unstable task test
Warning Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in an upcoming release.
Task test jest
Unstable API 'Deno.connect'. The --unstable flag must be provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlynode APIRelated to various "node:*" modules APIsnode compat

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions