Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/select.test.js')
-rw-r--r--test/integration/select.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/select.test.js b/test/integration/select.test.js
index c91165d..588876b 100644
--- a/test/integration/select.test.js
+++ b/test/integration/select.test.js
@@ -27,7 +27,7 @@ describe('a trooper', () => {
beforeEach(async () => {
await mockResponse(driver, `/assets/images/${scenario}`, fixture, (document) => {
placeCounter(document, createTroopCounter(), { x: 1, y: 1 });
- return `<?xml version="1.0" standalone="yes"?>\n` + document.querySelector('svg').outerHTML;
+ return svgDocument(document);
});
});
@@ -73,7 +73,7 @@ describe('a selected trooper', () => {
beforeEach(async () => {
await mockResponse(driver, `/assets/images/${scenario}`, fixture, (document) => {
placeCounter(document, selectCounter(createTroopCounter()), { x: 1, y: 1 });
- return `<?xml version="1.0" standalone="yes"?>\n` + document.querySelector('svg').outerHTML;
+ return svgDocument(document);
});
});