Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
4kimov committed Aug 30, 2023
1 parent 02d6116 commit af319f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"format": "prettier --write ."
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "6.3.0",
"@typescript-eslint/parser": "6.3.0",
"@vitest/coverage-v8": "0.34.1",
"eslint": "8.47.0",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"@vitest/coverage-v8": "0.34.3",
"eslint": "8.48.0",
"eslint-config-prettier": "9.0.0",
"prettier": "3.0.1",
"typescript": "5.1.6",
"vitest": "0.34.1"
"prettier": "3.0.3",
"typescript": "5.2.2",
"vitest": "0.34.3"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions tests/blocklist.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ test('blocklist filtering in constructor', () => {
blocklist: new Set(['sqnmpn']) // lowercase blocklist in only-uppercase alphabet
});

let id = sqids.encode([1, 2, 3]);
let numbers = sqids.decode(id);
const id = sqids.encode([1, 2, 3]);
const numbers = sqids.decode(id);

expect.soft(id).toEqual('ULPBZGBM'); // without blocklist, would've been "SQNMPN"
expect.soft(numbers).toEqual([1, 2, 3]);
Expand Down

0 comments on commit af319f6

Please sign in to comment.