Skip to content
Snippets Groups Projects

Add tests

Merged Jan Loewe requested to merge feat-jest-tests into master
Compare and Show latest version
13 files
+ 1928
12
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -6,7 +6,7 @@
import { select, toTextArr, toTextContentArr } from "../util";
import { ContactType, DCCDocument, LocationType } from "../../src";
const base = "//dcc:administrativeData/dcc:customer";
const base = "/dcc:digitalCalibrationCertificate/dcc:administrativeData/dcc:customer";
const xpath = {
customer: {
name: {
@@ -37,7 +37,7 @@ describe("ContactType", () => {
beforeEach(async () => {
({ dcc, dom } = await xmlEnv.recreateEnv());
customer = dcc.digitalCalibrationCertificate.administrativeData.customer;
location = customer.location;
location = customer.location; /* TODO: check iff this variable is used anywhere */
});
test("should get correct customer name content from XML", () => {
Loading