fix(core): update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// tslint:disable-next-line:no-implicit-dependencies
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as smarttime from '../ts/index';
|
||||
import * as smarttime from '../ts/index.js';
|
||||
|
||||
// Test TimeStamp class
|
||||
let testTimeStamp: smarttime.TimeStamp;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { tap, expect } from '@pushrocks/tapbundle';
|
||||
|
||||
import * as smarttime from '../ts/index';
|
||||
import * as smarttime from '../ts/index.js';
|
||||
|
||||
let testCronManager: smarttime.CronManager;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
|
||||
import * as smarttime from '../ts/index';
|
||||
import * as smarttime from '../ts/index.js';
|
||||
|
||||
tap.test('should create a valid JavaScript Date', async () => {
|
||||
const extendedDate = new smarttime.ExtendedDate(Date.now());
|
||||
@ -29,6 +29,6 @@ tap.test('should create a European date string', async () => {
|
||||
tap.test('should format a date', async () => {
|
||||
const extendedDate = new smarttime.ExtendedDate(Date.now());
|
||||
console.log(extendedDate.format('YYYY-MM-DD - hh:mm'));
|
||||
})
|
||||
});
|
||||
|
||||
tap.start();
|
||||
|
@ -1,7 +1,7 @@
|
||||
// tslint:disable-next-line:no-implicit-dependencies
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
|
||||
import { Timer } from '../ts/index';
|
||||
import { Timer } from '../ts/index.js';
|
||||
|
||||
let testTimer: Timer;
|
||||
|
||||
|
Reference in New Issue
Block a user