UNPKG

cypress-csv2html-plugin

Version:

A simple plugin to generate HTML table from CSV file by using cy.csv2html('/fixtures/yourfile.csv'), all the data is randomly generated

4 lines (2 loc) 105 B
const { csvToHtmlTable } = require("./src/csv2html"); Cypress.Commands.add("csv2html", csvToHtmlTable);