/* @flow */
import { describe, it } from 'flow-typed-test';
import urlJoin from 'url-join';

describe('url-join_v4.x.x', () => {
  it('should succeed with valid values', () => {
    urlJoin("a");
    urlJoin("a", "b");
  });

  it('should fail with invalid values', () => {
    // $FlowExpectedError
    urlJoin({});
    // $FlowExpectedError
    urlJoin("a", {});
  });
});
