Closed nullptrerror closed 1 year ago
I have a file called quillConfigMultimedia with the following:
import Quill from 'quill'; import { ImageResize } from 'quill-image-resize-module'; Quill.register('modules/imageResize', ImageResize); export const quillConfigMultimedia = { modules: { toolbar: [ ['bold', 'italic', 'underline', 'strike'], // toggled buttons [{ list: 'ordered' }, { list: 'bullet' }], [{ script: 'sub' }, { script: 'super' }], // superscript/subscript [{ indent: '-1' }, { indent: '+1' }], // outdent/indent [{ size: ['10px', false, '18px', '32px'] }], // custom dropdown [{ color: [] }, { background: [] }], // dropdown with defaults from theme [{ align: [] }], ['clean'], // remove formatting button ['link', 'image', 'video'], // link and image, video ], imageResize: {}, }, theme: 'snow', };
When my test runs I get the following error.
My component with failing test:
Try adding _./node_modules/quill/dist/quill.min.js_ under scripts for test in angular.json
./node_modules/quill/dist/quill.min.js
scripts
test
angular.json
I have a file called quillConfigMultimedia with the following:
When my test runs I get the following error.
My component with failing test: