✅ Made fixtures version-agnostic
This commit is contained in:
parent
e73f4e0487
commit
c406b51b78
1 changed files with 10 additions and 8 deletions
18
tests/fixtures/render.js
vendored
18
tests/fixtures/render.js
vendored
|
@ -1,10 +1,12 @@
|
||||||
|
var version = require("../../package.json").version;
|
||||||
|
|
||||||
var render = {
|
var render = {
|
||||||
boilerplate: `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
boilerplate: `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="0mm" height="0mm" viewBox="0 0 0 0"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="0mm" height="0mm" viewBox="0 0 0 0"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -33,7 +35,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="20mm" height="20mm" viewBox="0 0 20 20"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="20mm" height="20mm" viewBox="0 0 20 20"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -67,7 +69,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -102,7 +104,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="20mm" height="20mm" viewBox="0 0 20 20"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="20mm" height="20mm" viewBox="0 0 20 20"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -138,7 +140,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -175,7 +177,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -212,7 +214,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="60mm" height="72.45mm" viewBox="0 0 60 72.45"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
@ -249,7 +251,7 @@ var render = {
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
--><svg
|
--><svg
|
||||||
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="0.7.1" width="20mm" height="20mm" viewBox="0 0 20 20"
|
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:freesewing="http://freesewing.org/namespaces/freesewing" freesewing="${version}" width="20mm" height="20mm" viewBox="0 0 20 20"
|
||||||
>
|
>
|
||||||
<style type="text/css"> <![CDATA[
|
<style type="text/css"> <![CDATA[
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue