connor4312 / nodejs-testing

VS Code integration for node:test native tests
MIT License
50 stars 7 forks source link

Recoginize bare test import #45

Closed hildjj closed 5 months ago

hildjj commented 5 months ago

This should be a valid test:

import test from 'node:test'
test('foo', () => {})

however, to get this to be recognized by the plugin in my project, I had to do this:

import {test} from 'node:test'
test('foo', () => {})

I figured this out looking at #11 and #23.

connor4312 commented 5 months ago

Duplicates https://github.com/connor4312/nodejs-testing/issues/42