Skip to content

Commit

Permalink
update jest
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Aug 20, 2021
1 parent df2a053 commit ca1b411
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1,506 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"devDependencies": {
"@types/cheerio": "^0.22.21",
"@types/glob": "^7.1.1",
"@types/jest": "^27.0.1",
"@types/jest-cli": "^24.3.0",
"@types/marked": "^1.2.2",
"@types/mocha": "^7.0.2",
Expand All @@ -154,14 +155,14 @@
"eslint": "^6.8.0",
"file-loader": "^6.2.0",
"glob": "^7.1.6",
"jest": "^26.4.2",
"jest-cli": "^26.4.2",
"jest": "27.0.6",
"jest-cli": "^27.0.6",
"mini-css-extract-plugin": "^1.3.0",
"node-sass": "^6.0.1",
"sass-loader": "^10.0.5",
"ts-jest": "^26.4.0",
"ts-jest": "27.0.5",
"ts-loader": "^8.0.1",
"typescript": "^4.1.3",
"typescript": "4.1.3",
"vscode-test": "^1.3.0",
"webpack": "^5.21.1",
"webpack-cli": "^4.5.0"
Expand Down
3 changes: 2 additions & 1 deletion src/markdown/__tests__/Serializer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ describe("Serializer", () => {
// force the getConfig to return back the default value for deck.titleSeparator
// As that is the only config we're using in deckName
getConfig.mockImplementation((conf) => "^#\\s");
})
});

it("should strip out any front matter before getting the title", () => {
// Arrange
const deckName = "Test Title";
Expand Down
Loading

0 comments on commit ca1b411

Please sign in to comment.