diff options
Diffstat (limited to 'spec/pretest.js')
-rw-r--r-- | spec/pretest.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/pretest.js b/spec/pretest.js new file mode 100644 index 0000000..7655317 --- /dev/null +++ b/spec/pretest.js @@ -0,0 +1,9 @@ +'use strict' + +var svg, xhr = new XMLHttpRequest() +xhr.open('GET', '/base/spec/fixture.svg', false) +xhr.send() +if(xhr.status !== 200) + console.error('SVG fixture could not be loaded. Tests will fail.') +svg = xhr.responseText +document.body.innerHTML = svg
\ No newline at end of file |