feat(chore): updated version up to angular 14 and nx 14 #1205

Merged
SvetlanaMuravlova merged 15 commits from updated-version into development 2022-09-28 09:05:37 +00:00
2 changed files with 0 additions and 6 deletions
Showing only changes of commit 5796dafdfb - Show all commits

View File

@@ -76,7 +76,6 @@ describe('Directive: FileDropDirective', () => {
});
it('handles drop event', () => {
//@ts-ignore
const drop = jest.spyOn(fileDropDirective, 'onDrop');
directiveElement.triggerEventHandler('drop', getFakeEventData());
@@ -86,7 +85,6 @@ describe('Directive: FileDropDirective', () => {
it('adds file to upload', () => {
let addToQueue;
if (fileDropDirective.uploader?.addToQueue) {
//@ts-ignore
addToQueue = jest.spyOn(fileDropDirective.uploader, 'addToQueue');
}
@@ -106,7 +104,6 @@ describe('Directive: FileDropDirective', () => {
});
it('handles dragover event', () => {
//@ts-ignore
jest.spyOn(fileDropDirective, 'onDragOver');
directiveElement.triggerEventHandler('dragover', getFakeEventData());
@@ -124,7 +121,6 @@ describe('Directive: FileDropDirective', () => {
});
it('handles dragleave event', () => {
//@ts-ignore
jest.spyOn(fileDropDirective, 'onDragLeave');
directiveElement.triggerEventHandler('dragleave', getFakeEventData());

View File

@@ -82,7 +82,6 @@ describe('Directive: FileSelectDirective', () => {
});
it('can listed on change event', () => {
//@ts-ignore
const change = jest.spyOn(fileSelectDirective, 'onChange');
directiveElement.triggerEventHandler('change', {});
@@ -93,7 +92,6 @@ describe('Directive: FileSelectDirective', () => {
it('handles change event', () => {
let addToQueue;
if (fileSelectDirective.uploader?.addToQueue) {
//@ts-ignore
addToQueue = jest.spyOn(fileSelectDirective.uploader, 'addToQueue');
}
fileSelectDirective.onChange();