summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.json1
-rw-r--r--rollup.config.js2
-rw-r--r--spec/spec/text.js2
3 files changed, 1 insertions, 4 deletions
diff --git a/package.json b/package.json
index 0a5de2c..f77fe3c 100644
--- a/package.json
+++ b/package.json
@@ -84,7 +84,6 @@
"rollup": "^0.67.0",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-filesize": "^5.0.1",
- "rollup-plugin-progress": "^0.4.0",
"rollup-plugin-uglify": "^6.0.0",
"svgdom": "latest"
},
diff --git a/rollup.config.js b/rollup.config.js
index 3d4f61a..9c48a23 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,7 +1,6 @@
import babel from 'rollup-plugin-babel'
import { uglify } from "rollup-plugin-uglify"
import filesize from 'rollup-plugin-filesize'
-import progress from 'rollup-plugin-progress'
const pkg = require('./package.json')
const buildDate = Date()
@@ -29,7 +28,6 @@ export default [{
banner: headerLong
},
plugins: [
- progress(),
babel({
include: 'src/**'
}),
diff --git a/spec/spec/text.js b/spec/spec/text.js
index cd5dba1..b5d0b59 100644
--- a/spec/spec/text.js
+++ b/spec/spec/text.js
@@ -129,7 +129,7 @@ describe('Text', function() {
text.center(321, 567)
var box = text.bbox()
expect(+text.node.getAttribute('x') + box.width / 2).toBeCloseTo(321, 1)
- expect(text.y() + box.height / 2).toBeCloseTo(567)
+ expect(text.y() + box.height / 2).toBeCloseTo(567, 0)
})
})