aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/tests')
-rw-r--r--server/sonar-web/tests/apps/code/store-test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/tests/apps/code/store-test.js b/server/sonar-web/tests/apps/code/store-test.js
index fb54c02d32d..e8b36a58e4b 100644
--- a/server/sonar-web/tests/apps/code/store-test.js
+++ b/server/sonar-web/tests/apps/code/store-test.js
@@ -225,7 +225,7 @@ describe('Code :: Store', () => {
it('should be reset', () => {
const stateBefore = Object.assign({}, initialState, { searchQuery: 'query' });
expect(current(stateBefore, browseAction(exampleComponent)).searchQuery)
- .to.be.null;
+ .to.equal('');
});
});
describe('errorMessage', () => {