diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-17 15:08:29 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-17 15:08:29 +0000 |
commit | 6c26db46b89172c15ae7b27d938db643721d59cb (patch) | |
tree | ac2f4401213bba4220e205798396f3442a21f4cd /spec/frontend/blob/viewer/index_spec.js | |
parent | 6b97ea1f8008a7ddb22b1faa03496cf46c546c05 (diff) | |
download | gitlab-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.js | 6 |
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', + ); }); }); |