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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-21 06:10:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-21 06:10:13 +0300
commit3c0d15f2f194a4e08b2700b0a75c305d89dd7816 (patch)
tree9e987dcacb631d6159ba44909933d5f31103ed0e /spec/frontend/ide/utils_spec.js
parenta558e386749c579a70cca6463926092926627388 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/ide/utils_spec.js')
-rw-r--r--spec/frontend/ide/utils_spec.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/frontend/ide/utils_spec.js b/spec/frontend/ide/utils_spec.js
index 4efc0ac6028..dd3c6862ea4 100644
--- a/spec/frontend/ide/utils_spec.js
+++ b/spec/frontend/ide/utils_spec.js
@@ -8,7 +8,6 @@ import {
trimTrailingWhitespace,
getPathParents,
getPathParent,
- readFileAsDataURL,
addNumericSuffix,
} from '~/ide/utils';
@@ -267,16 +266,6 @@ describe('WebIDE utils', () => {
});
});
- describe('readFileAsDataURL', () => {
- it('reads a file and returns its output as a data url', () => {
- const file = new File(['foo'], 'foo.png', { type: 'image/png' });
-
- return readFileAsDataURL(file).then((contents) => {
- expect(contents).toBe('data:image/png;base64,Zm9v');
- });
- });
- });
-
/*
* hello-2425 -> hello-2425
* hello.md -> hello-1.md