Skip to content

Commit

Permalink
Updated failing tests and set root dir to prevent IDE giving an error
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelverschoof committed Oct 9, 2020
1 parent 7e18ae6 commit ffe8930
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/format/format.test.ts
Expand Up @@ -18,16 +18,16 @@ const RESULT_LOCALISED_US = 'Tuesday, 6/24/1986, 12:01:02.003 PM Coordinated Uni
const RESULT_LOCALISED_GB = 'Tuesday, 24/06/1986, 12:01:02 Coordinated Universal Time';
const RESULT_LOCALISED_NL = 'dinsdag 24-6-1986 12:01:02.003 Gecoördineerde wereldtijd';

const RESULT_LOCALISED_NEW_YORK = 'Tuesday, 6/24/1986, 8:01:02.003 AM Eastern Daylight Time';
const RESULT_LOCALISED_NEW_YORK = 'Tuesday, 6/24/1986, 08:01:02.003 AM Eastern Daylight Time';
const RESULT_LOCALISED_LONDON = 'Tuesday, 24/06/1986, 13:01:02 British Summer Time';
const RESULT_LOCALISED_AMSTERDAM = 'dinsdag 24-6-1986 14:01:02.003 Midden-Europese zomertijd';

const RESULT_CUSTOMISED_US = 'Tuesday, June 24, 1986 @ 12:01:02.003 PM UTC';
const RESULT_CUSTOMISED_GB = 'Tuesday, June 24, 1986 @ 12:01:02 pm UTC';
const RESULT_CUSTOMISED_NL = 'dinsdag, juni 24, 1986 @ 12:01:02.003 UTC';

const RESULT_CUSTOMISED_NEW_YORK = 'Tuesday, June 24, 1986 @ 8:01:02.003 AM EDT';
const RESULT_CUSTOMISED_LONDON = 'Tuesday, June 24, 1986 @ 1:01:02 pm BST';
const RESULT_CUSTOMISED_NEW_YORK = 'Tuesday, June 24, 1986 @ 08:01:02.003 AM EDT';
const RESULT_CUSTOMISED_LONDON = 'Tuesday, June 24, 1986 @ 01:01:02 pm BST';
const RESULT_CUSTOMISED_AMSTERDAM = 'dinsdag, juni 24, 1986 @ 14:01:02.003 CEST';

describe('Localise', () => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"strict": true,
"rootDir": "./src/",
"rootDir": "./",
"declaration": true,
"lib": [
"es2017",
Expand Down

0 comments on commit ffe8930

Please sign in to comment.