-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use figwheel main so tests run in a proper test runner
figwheel's test runner did not allow for fixtures which is a problem for hijacking the event defmethod so we can monitor the results
- Loading branch information
dan sutton
committed
Oct 23, 2018
1 parent
82c1adb
commit 823fdf6
Showing
8 changed files
with
60 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | ||
<meta charset="UTF-8"> | ||
<!--<link href="/css/example.css" rel="stylesheet" type="text/css">--> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script src="cljs-out/dev-main-test.js" type="text/javascript"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
^{:extra-main-files {:devcards {:main react-hitch.devcards-runner} | ||
:test {:main react-hitch.test-runner}} | ||
:watch-dirs ["src" "test"]} | ||
{:main react-hitch.qui-tracker} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
(ns react-hitch.test-runner | ||
(:require [cljs.test] | ||
[cljs-test-display.core] | ||
[react-hitch.curator.react-hook-test] | ||
[react-hitch.qui-tracker-test]) | ||
(:require-macros [cljs.test])) | ||
|
||
(defn test-run [] | ||
(cljs.test/run-tests | ||
(cljs-test-display.core/init! "app") | ||
'react-hitch.curator.react-hook-test | ||
'react-hitch.qui-tracker-test)) | ||
|
||
(test-run) |