xunit-viewer icon indicating copy to clipboard operation
xunit-viewer copied to clipboard

Fix broken dynamic import

Open steve-taylor opened this issue 10 months ago • 1 comments

The dynamic import should have used await so it would destructure the imported module rather than the Promise returned by import('./src/cli/args.js').

Rather than add await, I converted it to a static import because the dynamic import seemed unnecessary.

steve-taylor avatar Apr 04 '24 15:04 steve-taylor

@steve-taylor could you elaborate on why it is broken?

lukejpreston avatar Jun 20 '24 13:06 lukejpreston