Skip to content

getting the following error #118

@amrsa1

Description

@amrsa1

im getting the following error after executing the test and jest reporter is not generating the report

internal/fs/utils.js:779
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of XMLElement
    at Object.writeFile (fs.js:1436:5)
    at /home/amrka/Desktop/__tests__/node_modules/jest-html-reporter/dist/main.js:47:13
    at /home/amrka/Desktop/__tests__/node_modules/mkdirp/index.js:30:20
    at FSReqCallback.oncomplete (fs.js:171:23) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions