connor4312 / nodejs-testing

VS Code integration for node:test native tests
MIT License
43 stars 6 forks source link

Recoginize bare test import #45

Closed hildjj closed 2 weeks ago

hildjj commented 2 weeks 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 2 weeks ago

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