Skip to content
Snippets Groups Projects

Add tests

Merged Jan Loewe requested to merge feat-jest-tests into master
Compare and Show latest version
40 files
+ 4120
27
Compare changes
  • Side-by-side
  • Inline
Files
40
@@ -42,6 +42,10 @@ describe("GP_DCC_Temperature_Simplified: CalibrationLaboratoryType", () => {
expect(calibrationLaboratory.contact.phone._text).toBe(select(xpath.phone, dom));
});
test("should get correct fax from XML", () => {
expect(calibrationLaboratory.contact.fax._text).toBe(select(xpath.fax, dom));
});
test("should get correct city from XML", () => {
// get expected list from example xml
const expected = <Element[]>select(xpath.location.city, dom);
Loading