diff options
Diffstat (limited to 'spec/frontend/ide/utils_spec.js')
-rw-r--r-- | spec/frontend/ide/utils_spec.js | 11 |
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 |