Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Jan 20, 2022
1 parent c05e3e8 commit 48b485e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/icalendar",
"version": "4.14.5",
"version": "4.15.0",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"keywords": [
"ical",
Expand All @@ -24,8 +24,8 @@
"url": "https://github.com/hebcal/hebcal-icalendar/issues"
},
"dependencies": {
"@hebcal/core": "^3.29.1",
"@hebcal/rest-api": "^3.9.0"
"@hebcal/core": "^3.33.1",
"@hebcal/rest-api": "^3.12.0"
},
"scripts": {
"build": "rollup -c",
Expand Down Expand Up @@ -55,19 +55,19 @@
},
"devDependencies": {
"@ava/babel": "^2.0.0",
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/register": "^7.14.5",
"@babel/core": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/register": "^7.16.9",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-node-resolve": "^13.1.3",
"ava": "^3.15.0",
"eslint": "^7.32.0",
"eslint": "^8.7.0",
"eslint-config-google": "^0.14.0",
"jsdoc": "^3.6.7",
"jsdoc-to-markdown": "^7.1.0",
"murmurhash-js": "^1.0.0",
"rollup": "^2.58.0"
"rollup": "^2.64.0"
}
}
24 changes: 12 additions & 12 deletions src/icalendar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ test('ical-sedra', (t) => {
'X-MICROSOFT-CDO-BUSYSTATUS:FREE',
'X-MICROSOFT-CDO-ALLDAYEVENT:TRUE',
'CLASS:PUBLIC',
'DESCRIPTION:Torah: Leviticus 6:1-8:36\\nHaftarah: Malachi 3:4 - 3:24 | Shab',
' bat HaGadol\\n\\nhttps://www.hebcal.com/sedrot/tzav-19930403?utm_source=js&u',
' tm_medium=icalendar',
'DESCRIPTION:Torah: Leviticus 6:1-8:36\\nHaftarah: Malachi 3:4-24 | Shabbat ',
' HaGadol\\n\\nhttps://www.hebcal.com/sedrot/tzav-19930403?utm_source=js&utm_m',
' edium=icalendar',
'END:VEVENT',
];
t.deepEqual(lines, expected);
Expand All @@ -62,9 +62,9 @@ test('ical-sedra', (t) => {
'X-MICROSOFT-CDO-BUSYSTATUS:FREE',
'X-MICROSOFT-CDO-ALLDAYEVENT:TRUE',
'CLASS:PUBLIC',
'DESCRIPTION:Torah: Numbers 16:1-18:32\\, 28:9-15\\nHaftarah: Isaiah 66:1 - 6',
' 6:24 | Shabbat Rosh Chodesh\\n\\nhttps://www.hebcal.com/sedrot/korach-199306',
' 19?utm_source=js&utm_medium=icalendar',
'DESCRIPTION:Torah: Numbers 16:1-18:32\\, 28:9-15\\nHaftarah: Isaiah 66:1-24 ',
' | Shabbat Rosh Chodesh\\n\\nhttps://www.hebcal.com/sedrot/korach-19930619?ut',
' m_source=js&utm_medium=icalendar',
'END:VEVENT',
];
t.deepEqual(lines, expected);
Expand Down Expand Up @@ -124,9 +124,9 @@ test('ical-transp-opaque', (t) => {
'X-MICROSOFT-CDO-ALLDAYEVENT:TRUE',
'CLASS:PUBLIC',
'DESCRIPTION:Passover\\, the Feast of Unleavened Bread\\n\\nTorah: Leviticus 2',
' 2:26-23:44\\; Numbers 28:16-25\\nHaftarah: II Kings 23:1 - 23:9\\; 23:21 - 23',
' :25\\n\\nhttps://www.hebcal.com/holidays/pesach-1993?utm_source=js&utm_mediu',
' m=icalendar',
' 2:26-23:44\\; Numbers 28:16-25\\nHaftarah: II Kings 23:1-9\\, 23:21-25\\n\\nhtt',
' ps://www.hebcal.com/holidays/pesach-1993?utm_source=js&utm_medium=icalenda',
' r',
'END:VEVENT',
];
t.deepEqual(lines, expected);
Expand Down Expand Up @@ -378,9 +378,9 @@ test('ical-il-url', (t) => {
'X-MICROSOFT-CDO-ALLDAYEVENT:TRUE',
'CLASS:PUBLIC',
'DESCRIPTION:Eighth Day of Assembly\\n\\nTorah: Deuteronomy 33:1-34:12\\; Gene',
' sis 1:1-2:3\\; Numbers 29:35-30:1\\nHaftarah: Joshua 1:1 - 1:18\\n\\nhttps://w',
' ww.hebcal.com/holidays/shmini-atzeret-2021?i=on&utm_source=js&utm_medium=i',
' calendar',
' sis 1:1-2:3\\; Numbers 29:35-30:1\\nHaftarah: Joshua 1:1-18\\n\\nhttps://www.h',
' ebcal.com/holidays/shmini-atzeret-2021?i=on&utm_source=js&utm_medium=icale',
' ndar',
'END:VEVENT',
];
t.deepEqual(lines, expected);
Expand Down

0 comments on commit 48b485e

Please sign in to comment.