nodejs-testing icon indicating copy to clipboard operation
nodejs-testing copied to clipboard

Support `ts`, `mts` and `cts` files by default

Open SuperchupuDev opened this issue 4 months ago • 0 comments

Ever since --experimental-strip-types got unflagged, node:test now also runs typescript files by default. The extension should be updated to account for this

I currently have to use the following config to get around it:

  "nodejs-testing.extensions": [
    {
      "extensions": ["ts"],
      "parameters": []
    }
  ],

Ref: https://nodejs.org/api/test.html#running-tests-from-the-command-line

SuperchupuDev avatar Jul 05 '25 20:07 SuperchupuDev