8000 Failure to run test · Issue #1177 · jaredpalmer/tsdx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Failure to run test #1177
Open
Open
@ekoulemaneng

Description

@ekoulemaneng

Current Behavior

When I run yarn test, I get this bug:

` FAIL test/blah.test.ts
● Test suite failed to run

TypeError: The "path" argument must be of type string. Received undefined

  at node_modules/tsdx/node_modules/ts-jest/dist/compiler/compiler-utils.js:19:27
      at Array.map (<anonymous>)
  at Object.cacheResolvedModules (node_modules/tsdx/node_modules/ts-jest/dist/compiler/compiler-utils.js:18:14)
  at compileFn (node_modules/tsdx/node_modules/ts-jest/dist/compiler/language-service.js:127:38)
  at Object.compile (node_modules/tsdx/node_modules/ts-jest/dist/compiler/instance.js:52:21)
  at TsJestTransformer.process (node_modules/tsdx/node_modules/ts-jest/dist/ts-jest-transformer.js:85:41)
  at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:481:35)`

Expected behavior

And yet, I have only tested the function of the basic boilerplate of TSDX.

Suggested solution(s)

Additional context

Your environment

System:
    OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
    Memory: 1.49 GB / 7.54 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 3.3.1 - ~/.nvm/versions/node/v18.12.1/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
    Watchman: 20221225.010033.0 - /usr/local/bin/watchman
  Browsers:
    Firefox: 111.0.1

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

      0