We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a67e4 commit 4b2dfe6Copy full SHA for 4b2dfe6
src/client/testing/common/xUnitParser.ts
@@ -77,8 +77,7 @@ export class XUnitParser implements IXUnitParser {
77
// An async wrapper around xml2js.parseString().
78
// tslint:disable-next-line:no-any
79
async function parseXML(data: string): Promise<any> {
80
- // tslint:disable-next-line:no-require-imports
81
- const xml2js = require('xml2js');
+ const xml2js = await import('xml2js');
82
83
return new Promise<any>((resolve, reject) => {
84
0 commit comments