UNPKG

gerald-react-scripts-fork

Version:

Gerald's fork of the configuration and scripts for Create React App.

14 lines (13 loc) 354 B
require(__dirname).test ( { xml : "<span id=\"hello\" id=\"there\"></span>" , expect : [ [ "attribute", { name: "ID", value: "hello" } ] , [ "opentag", { name: "SPAN", attributes: { ID: "hello" }, isSelfClosing: false } ] , [ "closetag", "SPAN" ] ] , strict : false , opt : {} } )