From: dotnetCarpenter Date: Wed, 26 Apr 2017 23:00:51 +0000 (+0200) Subject: move fixtures to the fixtures folder X-Git-Tag: 2.6.2~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e381a5fb6d30c39045293245c43002f691800d80;p=svg.js.git move fixtures to the fixtures folder --- diff --git a/.config/karma.conf.js b/.config/karma.conf.js index f2bdfeb..42ceb39 100644 --- a/.config/karma.conf.js +++ b/.config/karma.conf.js @@ -17,12 +17,12 @@ module.exports = function(config) { files: [ '.config/pretest.js', { - pattern: 'spec/fixture.css', + pattern: 'spec/fixtures/fixture.css', included: false, served: true }, { - pattern: 'spec/fixture.svg', + pattern: 'spec/fixtures/fixture.svg', included: false, served: true }, diff --git a/.config/pretest.js b/.config/pretest.js index 1ccaf89..834e8d8 100644 --- a/.config/pretest.js +++ b/.config/pretest.js @@ -12,9 +12,9 @@ function get(uri) { function main() { var style = document.createElement("style") document.head.appendChild(style) - style.sheet.insertRule( get('/base/spec/fixture.css'), 0 ) + style.sheet.insertRule( get('/fixtures/fixture.css'), 0 ) - document.body.innerHTML = get('/base/spec/fixture.svg') + document.body.innerHTML = get('/fixtures/fixture.svg') } main() diff --git a/spec/fixture.css b/spec/fixture.css deleted file mode 100644 index e72e421..0000000 --- a/spec/fixture.css +++ /dev/null @@ -1,6 +0,0 @@ -#drawing { - width: 500px; - height: 500px; - position: fixed; - z-index: -1; -} \ No newline at end of file diff --git a/spec/fixture.svg b/spec/fixture.svg deleted file mode 100644 index f910dc1..0000000 --- a/spec/fixture.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - Some description - - - - - - - - - - - A - B - C - - - - \ No newline at end of file diff --git a/spec/fixtures/fixture.css b/spec/fixtures/fixture.css new file mode 100644 index 0000000..e72e421 --- /dev/null +++ b/spec/fixtures/fixture.css @@ -0,0 +1,6 @@ +#drawing { + width: 500px; + height: 500px; + position: fixed; + z-index: -1; +} \ No newline at end of file diff --git a/spec/fixtures/fixture.svg b/spec/fixtures/fixture.svg new file mode 100644 index 0000000..f910dc1 --- /dev/null +++ b/spec/fixtures/fixture.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + Some description + + + + + + + + + + + A + B + C + + + + \ No newline at end of file