Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Add tests to trigger the cljs.spec.test.alpha/instrument WARNING #312

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/test/cljs_build/instrument/core.cljs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(ns instrument.core
"The entry point of this program"
(:require [cljs.spec.test.alpha :as stest]))

(stest/instrument)

(defn -main
[& args]
(println "Hello world!")
(process.exit 0))

(set! *main-cli-fn* `-main)
Loading