Skip to content

Instantly share code, notes, and snippets.

View rchasman's full-sized avatar
🇦🇺
Living in Australia

Roey D. Chasman rchasman

🇦🇺
Living in Australia
View GitHub Profile
@rchasman
rchasman / gist:24809cd474a6c56c4c7d0cd293c4afbf
Last active May 13, 2021 22:00
Lawmatics Client - Jest Test Code Coverage
-------------------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------------------|---------|----------|---------|---------|-------------------
All files | 52.84 | 35.73 | 41.96 | 53.72 |
boost-client | 100 | 100 | 100 | 100 |
jest.transform.style.js | 100 | 100 | 100 | 100 |
boost-client/kit/lib | 100 | 50 | 100 | 100 |
redux.js | 100 | 50 | 100 | 100 | 34
boost-client/src/actions | 17.95 | 25 | 23.33 | 18.42 |
customFormActions.js | 46.67 | 50 | 46.67 | 46.67 | 21-48,74,88-95
Uncaught TypeError: Cannot read properties of undefined (reading 'duration')
------
TypeError
Cannot read properties of undefined (reading 'duration')
TypeError: Cannot read properties of undefined (reading 'duration')
at initialize.getFirstTick (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpack/renderer/vendors.bundle.js:2:238231)
at initialize.startAnimation (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpack/renderer/vendors.bundle.js:2:224898)
at initialize.play (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpack/renderer/vendors.bundle.js:2:224488)
at initialize.onComplete (file:///Users/<user>/Library/Application%20Support/Steam/steamapps/common/Vampire%20Survivors/Vampire_Survivors.app/Contents/Resources/app/.webpa
import { Extension } from "@tiptap/core";
const TAB_CHAR = "\u0009";
const IndentHandler = Extension.create({
name: "indentHandler",
addKeyboardShortcuts() {
return {
Tab: ({ editor }) => {
const { selection } = editor.state;