Skip to content

Commit

Permalink
chore(test): update ts lint, update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukiniro committed Mar 19, 2023
1 parent 28a8e0d commit bf71b05
Show file tree
Hide file tree
Showing 5 changed files with 273 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"extends": ["standard", "prettier"]
"parser": "@typescript-eslint/parser",
"extends": ["standard", "prettier", "plugin:@typescript-eslint/recommended"],
"plugins": ["@typescript-eslint"]
}
2 changes: 1 addition & 1 deletion __test__/toukey.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ describe("Valid options", () => {
});
});

test.only("Test enable", () =>
test("Test enable", () =>
new Promise<void>((resolve, reject) => {
subscribe("a", (e) => {
expect(e.key.toLowerCase()).toBe("a");
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toukey",
"version": "1.2.3",
"version": "1.2.4",
"description": "Toukey is a Javascript library for keyboard shortcuts",
"main": "dist/toukey.cjs.js",
"module": "dist/toukey.esm.js",
Expand Down Expand Up @@ -44,6 +44,8 @@
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^13.2.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"bittydash": "^0.5.5",
"c8": "^7.11.0",
"eslint": "^8.9.0",
Expand Down
Loading

1 comment on commit bf71b05

@vercel
Copy link

@vercel vercel bot commented on bf71b05 Mar 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

toukey – ./

toukey-yukiniro.vercel.app
toukey.vercel.app
toukey-git-master-yukiniro.vercel.app

Please sign in to comment.