{"size": 380, "ext": "js", "max_stars_repo_path": "tests/builds/esm.js", "max_stars_repo_name": "errir503/cookie.js", "max_stars_repo_stars_event_min_datetime": "2015-09-23T08:17:40.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-15T11:47:07.000Z", "max_issues_repo_path": "tests/builds/esm.js", "max_issues_repo_name": "errir503/cookie.js", "max_issues_repo_issues_event_min_datetime": "2015-10-24T16:02:31.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-09T20:50:32.000Z", "max_forks_repo_path": "tests/builds/esm.js", "max_forks_repo_name": "florian/cookie.js", "max_forks_repo_forks_event_min_datetime": "2015-10-19T07:43:55.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-19T22:15:25.000Z"}
{"max_stars_count": 733, "max_issues_count": 44, "max_forks_count": 179, "avg_line_length": 25.3333333333, "max_line_length": 47, "alphanum_fraction": 0.6447368421}
import assert from 'assert';
import cookie from '../../dist/cookie.esm.js';
import shared from '../shared';
import sharedNoJsdom from '../shared_no_jsdom';

describe('ES Module Build', () => {
  it('imports properly', () => {
    assert(typeof cookie, 'function');
    assert(typeof cookie.get, 'function');
  });

  shared.test({ cookie });
  sharedNoJsdom.test({ cookie });
});
