Skip to content

Commit

Permalink
style: update files to match prettier v1.12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Apr 18, 2018
1 parent 6c96cd5 commit 813db81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/resolvers/Resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export default interface Resolver {
* to disk in a temporary location.
*/
resolve(source: string): Promise<string>;
};
}
2 changes: 1 addition & 1 deletion test/unit/resolvers/FileSystemResolverTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('FileSystemResolver', function() {

it('fails to resolve a non-existent file', async function() {
let resolver = new FileSystemResolver();
ok(!await resolver.canResolve('/this/file/is/not/there'));
ok(!(await resolver.canResolve('/this/file/is/not/there')));

try {
await resolver.resolve('/this/file/is/not/there');
Expand Down
6 changes: 3 additions & 3 deletions test/unit/resolvers/NetworkResolverTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ describe('NetworkResolver', function() {

ok(await resolver.canResolve('http://example.com/'));
ok(await resolver.canResolve('https://example.com/'));
ok(!await resolver.canResolve('/'));
ok(!await resolver.canResolve('afp://192.168.0.1/volume/folder/file.js'));
ok(!await resolver.canResolve('data:,Hello%2C%20World!'));
ok(!(await resolver.canResolve('/')));
ok(!(await resolver.canResolve('afp://192.168.0.1/volume/folder/file.js')));
ok(!(await resolver.canResolve('data:,Hello%2C%20World!')));
});

it('follows redirects', async function() {
Expand Down

0 comments on commit 813db81

Please sign in to comment.