Skip to content

Commit

Permalink
This test fails becuase handleFileInput is no longer called by handle…
Browse files Browse the repository at this point in the history
…GLTFInput
  • Loading branch information
EdwardMoyse committed Sep 3, 2024
1 parent 6f0e98c commit 29cac60
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ describe('IoOptionsDialogComponent', () => {
expect(mockDialogRef.close).toHaveBeenCalled();
});

it('should handle glTF file input', () => {
const files = mockFileList([
new File(['{}'], 'testfile.gltf', {
type: 'application/json',
}),
]);
component.handleGLTFInput(files);
});

describe('handleFileInput', () => {
beforeEach(() => {
jest.spyOn(component, 'handleFileInput').mockImplementation(() => {});
Expand Down Expand Up @@ -135,15 +144,6 @@ describe('IoOptionsDialogComponent', () => {
component.handleSceneInput(files);
});

it('should handle glTF file input', () => {
const files = mockFileList([
new File(['{}'], 'testfile.gltf', {
type: 'application/json',
}),
]);
component.handleGLTFInput(files);
});

it('should handle phoenix file input', () => {
const files = mockFileList([
new File(['{}'], 'testfile.phnx', {
Expand Down

0 comments on commit 29cac60

Please sign in to comment.