Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/diffs/components/tree_list_spec.js')
-rw-r--r--spec/frontend/diffs/components/tree_list_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/diffs/components/tree_list_spec.js b/spec/frontend/diffs/components/tree_list_spec.js
index cc177a81d88..c89403e4869 100644
--- a/spec/frontend/diffs/components/tree_list_spec.js
+++ b/spec/frontend/diffs/components/tree_list_spec.js
@@ -91,12 +91,12 @@ describe('Diffs tree list component', () => {
expect(
getFileRows()
.at(0)
- .text(),
+ .html(),
).toContain('index.js');
expect(
getFileRows()
.at(1)
- .text(),
+ .html(),
).toContain('app');
});
@@ -138,7 +138,7 @@ describe('Diffs tree list component', () => {
wrapper.vm.$store.state.diffs.renderTreeList = false;
return wrapper.vm.$nextTick().then(() => {
- expect(wrapper.find('.file-row').text()).toContain('index.js');
+ expect(wrapper.find('.file-row').html()).toContain('index.js');
});
});
});