Skip to content

Commit

Permalink
Rename internal imports of package
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomato committed Jun 8, 2021
1 parent fb0e60c commit fb6a5a6
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion test/calendar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { Calendar } = Temporal;

describe('Calendar', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/datemath.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('Date.since(simple, simple)', () => {
build('Before Leap Day', '2020-01-03', '2020-02-15');
Expand Down
2 changes: 1 addition & 1 deletion test/duration.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { throws, equal, notEqual } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { Duration } = Temporal;

describe('Duration', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/exhaust.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

const all = process.argv[2] === 'all';
const start = new Temporal.PlainDate(1999, 1, 1);
Expand Down
2 changes: 1 addition & 1 deletion test/exports.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('Exports', () => {
const named = Object.keys(Temporal);
Expand Down
2 changes: 1 addition & 1 deletion test/instant.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, notEqual, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { Instant } = Temporal;

describe('Instant', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/intl.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { deepEqual, equal, throws } = assert;

import { DateTimeFormat } from '../lib/intl.mjs';
Intl.DateTimeFormat = DateTimeFormat;
import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('Intl', () => {
// TODO: move these to their respective test files.
Expand Down
2 changes: 1 addition & 1 deletion test/now.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('Temporal.now', () => {
describe('Structure', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/plaindate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, notEqual, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { PlainDate } = Temporal;

describe('Date', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/plaindatetime.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, notEqual, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { PlainDateTime } = Temporal;

describe('DateTime', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/plainmonthday.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { throws, equal, notEqual } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { PlainMonthDay } = Temporal;

describe('MonthDay', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/plaintime.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, notEqual, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { PlainTime, PlainDateTime } = Temporal;

describe('Time', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/plainyearmonth.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { throws, equal, notEqual } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { PlainYearMonth } = Temporal;

describe('YearMonth', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/regex.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('fromString regex', () => {
describe('instant', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/timezone.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { deepEqual, equal, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('TimeZone', () => {
describe('Structure', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/usercalendar.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('Userland calendar', () => {
describe('Trivial subclass', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/usertimezone.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';

describe('Userland time zone', () => {
describe('Trivial subclass', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/zoneddatetime.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { reporter } = Pretty;
import { strict as assert } from 'assert';
const { equal, notEqual, throws } = assert;

import * as Temporal from 'temporal-polyfill';
import * as Temporal from '@js-temporal/polyfill';
const { ZonedDateTime } = Temporal;

describe('ZonedDateTime', () => {
Expand Down

0 comments on commit fb6a5a6

Please sign in to comment.