File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,8 @@ With a prefix ARG, allow editing."
282
282
283
283
(cl-defun jest--run (&key args file testname edit )
284
284
" Run jest for the given arguments."
285
- (let ((popup-arguments args))
285
+ (let ((popup-arguments args)
286
+ command)
286
287
(setq args (jest--transform-arguments args))
287
288
(when (and file (file-name-absolute-p file))
288
289
(setq file (jest--relative-file-name file)))
@@ -444,8 +445,8 @@ If FILE is not found in DIRECTORY, the parent of DIRECTORY will be searched."
444
445
(gethash " name" (jest--read-package-json buffer-file-name)))
445
446
446
447
(defun jest--project-root ()
447
- (interactive )
448
448
" Find the project root directory."
449
+ (interactive )
449
450
(file-name-directory (jest--find-package-json buffer-file-name)))
450
451
451
452
(defun jest--relative-file-name (file )
You can’t perform that action at this time.
0 commit comments