Moves stringToArrayBuffer into util folder

This commit is contained in:
Josh Perez 2021-09-20 12:27:15 -04:00 committed by GitHub
parent 829e42ca6e
commit e86a6119cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 30 deletions

View file

@ -6,7 +6,7 @@ import { assert } from 'chai';
import * as Attachment from '../../types/Attachment';
import * as MIME from '../../types/MIME';
import { SignalService } from '../../protobuf';
import { stringToArrayBuffer } from '../../../js/modules/string_to_array_buffer';
import { stringToArrayBuffer } from '../../util/stringToArrayBuffer';
import * as logger from '../../logging/log';
describe('Attachment', () => {

View file

@ -7,7 +7,7 @@ import * as Message from '../../../types/message/initializeAttachmentMetadata';
import { IncomingMessage } from '../../../types/Message';
import { SignalService } from '../../../protobuf';
import * as MIME from '../../../types/MIME';
import { stringToArrayBuffer } from '../../../../js/modules/string_to_array_buffer';
import { stringToArrayBuffer } from '../../../util/stringToArrayBuffer';
describe('Message', () => {
describe('initializeAttachmentMetadata', () => {