webdriverio/tests/interop/junit-reporter.e2e.js
Christian Bromann 24609c346f
feat(@wdio/junit-reporter): provide CJS export (#13613)
* feat(@wdio/junit-reporter): provide CJS export

* better organize interop tests
2024-09-18 10:11:49 -07:00

8 lines
331 B
JavaScript

const assert = require('node:assert')
const JUnitReporter = require('@wdio/junit-reporter')
const { addProperty } = require('@wdio/junit-reporter')
console.log('Test JUnit Reporter Exports')
assert(typeof addProperty, 'function')
assert(typeof JUnitReporter.addProperty, 'function')
console.log('JUnit Reporter CJS Test Passed!')