Skip to content

Commit

Permalink
scratch file
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jun 10, 2024
1 parent d914bed commit 91954dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/nextjournal/scratch.cljs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
(ns nextjournal.clojure-mode.scratch
(:require [nextjournal.clojure-mode.commands :as commands]
[nextjournal.clojure-mode :as cm-clojure]
[nextjournal.clojure-mode.extensions.eval-region :as eval-region]
[nextjournal.clojure-mode.test-utils :as test-utils]))

(def extensions
(.concat cm-clojure/default-extensions (eval-region/extension #js {})))

(def apply-f (partial test-utils/apply-f extensions))

(js/console.log "\"|\" 1")
(js/console.log (apply-f (commands/slurp 1) "\"|\" 1"))

0 comments on commit 91954dd

Please sign in to comment.