Skip to content

Commit

Permalink
Updates to modules and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray committed Jan 1, 2021
1 parent bdfefdf commit 6f0a970
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "writr",
"version": "0.9.9",
"version": "1.0.1",
"description": "A Simple to Use Markdown Blog",
"main": "./dist/index",
"types": "./dist/index",
Expand Down Expand Up @@ -39,6 +39,7 @@
"array-sort": "^1.0.0",
"cheerio": "^1.0.0-rc.5",
"commander": "^6.2.1",
"del": "^6.0.0",
"feed": "^4.2.1",
"fs-extra": "^9.0.1",
"gray-matter": "^4.0.2",
Expand All @@ -52,9 +53,7 @@
"winston": "^3.3.3"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/array-sort": "^1.0.0",
"@types/chai": "^4.2.14",
"@types/express": "^4.17.9",
"@types/express-serve-static-core": "^4.17.17",
"@types/fs-extra": "^9.0.6",
Expand All @@ -65,7 +64,6 @@
"@types/parse-json": "^4.0.0",
"@types/winston": "^2.3.8",
"codecov": "^3.8.1",
"del": "^6.0.0",
"jest": "^26.6.3",
"source-map-support": "^0.5.19",
"ts-jest": "^26.4.4",
Expand Down
2 changes: 1 addition & 1 deletion test/render/htmlRenderProvider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ describe("htmlProvider", () => {
val = val.replace(/(\r\n|\n|\r)/gm, "");
expect(val).toContain("<a href=\"the-largest-whale\">Article One - John Smith</a></p>");
expect(val).toContain("<p><a href=\"article-simple\">Article Simple - </a></p>");
expect(val).toContain("Tags: <br /><ul><li><a href=\"aerospace\">aerospace</a></li><li><a href=\"blast\">blast</a></li><li><a href=\"candle\">Candle</a></li><li><a href=\"cool\">cool</a></li><li><a href=\"docula\">Docula</a></li><li><a href=\"facts\">facts</a></li><li><a href=\"foo\">foo</a></li><li><a href=\"github\">Github</a></li><li><a href=\"model-3\">model 3</a></li><li><a href=\"mouse\">mouse</a></li><li><a href=\"muskified\">muskified</a></li><li><a href=\"nice3\">nice3</a></li><li><a href=\"ocean\">ocean</a></li><li><a href=\"open-source\">Open Source</a></li><li><a href=\"tesla\">tesla</a></li><li><a href=\"whale\">Whale</a></li></ul></p>2020");
expect(val).toContain("Tags: <br /><ul><li><a href=\"aerospace\">aerospace</a></li><li><a href=\"blast\">blast</a></li><li><a href=\"candle\">Candle</a></li><li><a href=\"cool\">cool</a></li><li><a href=\"docula\">Docula</a></li><li><a href=\"facts\">facts</a></li><li><a href=\"foo\">foo</a></li><li><a href=\"github\">Github</a></li><li><a href=\"model-3\">model 3</a></li><li><a href=\"mouse\">mouse</a></li><li><a href=\"muskified\">muskified</a></li><li><a href=\"nice3\">nice3</a></li><li><a href=\"ocean\">ocean</a></li><li><a href=\"open-source\">Open Source</a></li><li><a href=\"tesla\">tesla</a></li><li><a href=\"whale\">Whale</a></li></ul></p>");
});

it("render (long running)", async () => {
Expand Down
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -393,13 +393,6 @@
js-yaml "^3.13.1"
resolve-from "^5.0.0"

"@istanbuljs/nyc-config-typescript@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@istanbuljs/nyc-config-typescript/-/nyc-config-typescript-1.0.1.tgz#55172f5663b3635586add21b14d42ca94a163d58"
integrity sha512-/gz6LgVpky205LuoOfwEZmnUtaSmdk0QIMcNFj9OvxhiMhPpKftMgZmGN7jNj7jR+lr8IB1Yks3QSSSNSxfoaQ==
dependencies:
"@istanbuljs/schema" "^0.1.2"

"@istanbuljs/schema@^0.1.2":
version "0.1.2"
resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd"
Expand Down Expand Up @@ -662,11 +655,6 @@
"@types/connect" "*"
"@types/node" "*"

"@types/chai@^4.2.14":
version "4.2.14"
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.14.tgz#44d2dd0b5de6185089375d976b4ec5caf6861193"
integrity sha512-G+ITQPXkwTrslfG5L/BksmbLUA0M1iybEsmCWPqzSxsRRhJZimBKJkoMi8fr/CPygPTj4zO5pJH7I2/cm9M7SQ==

"@types/connect@*":
version "3.4.32"
resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.32.tgz#aa0e9616b9435ccad02bc52b5b454ffc2c70ba28"
Expand Down

0 comments on commit 6f0a970

Please sign in to comment.