diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2017-04-27 01:00:51 +0200 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2017-04-27 01:01:46 +0200 |
commit | e381a5fb6d30c39045293245c43002f691800d80 (patch) | |
tree | 1850d576b88d527ac720b448e4d205832a94786e | |
parent | 9ec3a403b6c638bffc04e1ce00ebdf016aa15492 (diff) | |
download | svg.js-e381a5fb6d30c39045293245c43002f691800d80.tar.gz svg.js-e381a5fb6d30c39045293245c43002f691800d80.zip |
move fixtures to the fixtures folder
-rw-r--r-- | .config/karma.conf.js | 4 | ||||
-rw-r--r-- | .config/pretest.js | 4 | ||||
-rw-r--r-- | spec/fixtures/fixture.css (renamed from spec/fixture.css) | 0 | ||||
-rw-r--r-- | spec/fixtures/fixture.svg (renamed from spec/fixture.svg) | 0 |
4 files changed, 4 insertions, 4 deletions
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/fixtures/fixture.css index e72e421..e72e421 100644 --- a/spec/fixture.css +++ b/spec/fixtures/fixture.css diff --git a/spec/fixture.svg b/spec/fixtures/fixture.svg index f910dc1..f910dc1 100644 --- a/spec/fixture.svg +++ b/spec/fixtures/fixture.svg |