emacs-jest
emacs-jest copied to clipboard
Emacs 28 requires `cc-defs` to be loaded before `jest`
Hi!
I have to use
:config (require 'cc-defs)
in my use-package declaration of jest. Otherwise, I get invalid function c-int-to-char errors when testing single functions.
Sorry, I spoke too soon. This does not fix the problem. This is the error I get:
Debugger entered--Lisp error: (invalid-function c-int-to-char)
c-int-to-char(105)
jest--remove-folded-range(#("import { SQSClient, SendMessageCommand } from \"@aws-sdk/client-sqs\";\nimport { XYZ } ..." 0 6 (face tree-sitter-hl-face:keyword fontified t) 6 7 (fontified t) 7 8 (face (rainbow-delimiters-depth-1-face tree-sitter-hl-face:punctuation\.bracket) fontified t) 8 9 (fontified t) 9 18 (face (tree-sitter-hl-face:type tree-sitter-hl-face:constructor) fontified t) 18 19 (face tree-sitter-hl-face:punctuation\.delimiter fontified t) 19 20 (fontified t) 20 38 (face (tree-sitter-hl-face:type tree-sitter-hl-face:constructor) fontified t) 38 39 (fontified t) 39 40 (face (rainbow-delimiters-depth-1-face tree-sitter-hl-face:punctuation\.bracket) fontified t) 40 41 (fontified t) 41 45 (face tree-sitter-hl-face:keyword fontified t) 45 46 (fontified t) 46 67 (face tree-sitter-hl-face:string fontified t) 67 68 (face tree-sitter-hl-face:punctuation\.delimiter fontified t) 68 69 (fontified t) ...))
jest--current-test-name()
byte-code("\300 \301 \302 E\207" [buffer-file-name jest--current-test-name jest-arguments] 3)
magit-invoke-popup-action(100)
funcall-interactively(magit-invoke-popup-action 100)
command-execute(magit-invoke-popup-action)
has anyone managed to solve this issue?
I am using jest-test-mode, works fine.