Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
eamahanna committed Oct 9, 2020
1 parent a183580 commit cdde52d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/unit/spec/narrative_core/upload/fileUploadWidget-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ define([
jasmine.Ajax.uninstall();
});

it('Should be able to set and retrieve the path', () => {
const $node = $('<div>'),
fuw = new FileUploadWidget($node, {
path: '/',
userInfo: {
user: fakeUser,
globusLinked: true
}
});
const newPath = 'newPath';
fuw.setPath(newPath);
expect(fuw.getPath()).toEqual(newPath);
});
it('Should be able to set and retrieve the path', () => {
const $node = $('<div>'),
fuw = new FileUploadWidget($node, {
path: '/',
userInfo: {
user: fakeUser,
globusLinked: true
}
});
const newPath = 'newPath';
fuw.setPath(newPath);
expect(fuw.getPath()).toEqual(newPath);
});

it('Should start and succeed on an upload when a file is given', (done) => {
const filename='foo.txt';
Expand Down

0 comments on commit cdde52d

Please sign in to comment.