From bbe5e32b94a03d6fe95b45816cd4ce7a02163c05 Mon Sep 17 00:00:00 2001 From: Greenkeeper Date: Mon, 22 May 2017 19:14:23 +0200 Subject: [PATCH] chore(package): update chai-enzyme to version 0.7.0 (#1692) * chore(package): update chai-enzyme to version 0.7.0 https://greenkeeper.io/ * tests(Progress): use data in tests --- package.json | 2 +- test/specs/modules/Progress/Progress-test.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2c661a7e05..3a91d3ca0e 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "babel-register": "^6.24.1", "babel-standalone": "^6.24.0", "chai": "^3.5.0", - "chai-enzyme": "^0.6.1", + "chai-enzyme": "^0.7.0", "connect-history-api-fallback": "^1.2.0", "copy-to-clipboard": "^3.0.6", "cross-env": "^4.0.0", diff --git a/test/specs/modules/Progress/Progress-test.js b/test/specs/modules/Progress/Progress-test.js index 0ebcc1826b..b03d19b5b0 100644 --- a/test/specs/modules/Progress/Progress-test.js +++ b/test/specs/modules/Progress/Progress-test.js @@ -91,22 +91,22 @@ describe('Progress', () => { describe('data-percent', () => { it('adds prop by default', () => { shallow() - .should.have.prop('data-percent', undefined) + .should.have.data('percent') }) it('passes value of percent prop', () => { shallow() - .should.have.prop('data-percent', 10) + .should.have.data('percent', 10) }) it('floors the value of percent prop', () => { shallow() - .should.have.prop('data-percent', 8) + .should.have.data('percent', 8) }) it('floors the results value and total props', () => { shallow() - .should.have.prop('data-percent', 8) + .should.have.data('percent', 8) }) })