summaryrefslogtreecommitdiff
path: root/spec/frontend/blob/viewer/index_spec.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-17 15:08:29 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-17 15:08:29 +0000
commit6c26db46b89172c15ae7b27d938db643721d59cb (patch)
treeac2f4401213bba4220e205798396f3442a21f4cd /spec/frontend/blob/viewer/index_spec.js
parent6b97ea1f8008a7ddb22b1faa03496cf46c546c05 (diff)
downloadgitlab-ce-6c26db46b89172c15ae7b27d938db643721d59cb.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/blob/viewer/index_spec.js')
-rw-r--r--spec/frontend/blob/viewer/index_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/blob/viewer/index_spec.js b/spec/frontend/blob/viewer/index_spec.js
index 5f6baf3f63d..b2559af182b 100644
--- a/spec/frontend/blob/viewer/index_spec.js
+++ b/spec/frontend/blob/viewer/index_spec.js
@@ -80,9 +80,9 @@ describe('Blob viewer', () => {
return asyncClick()
.then(() => asyncClick())
.then(() => {
- expect(
- document.querySelector('.blob-viewer[data-type="simple"]').getAttribute('data-loaded'),
- ).toBe('true');
+ expect(document.querySelector('.blob-viewer[data-type="simple"]').dataset.loaded).toBe(
+ 'true',
+ );
});
});