Juho Teperi 14c43e066f Run all tests on their own directories
This allows running figwheel on main folder, without node_modules from
tests messing the environment.
2017-10-13 15:02:10 +03:00

6 lines
218 B
Bash
Executable File

#!/bin/bash
set -ex
lein with-profile node-test do clean, doo node client once
test ! -f out/node_modules/react/index.js
grep "reagent.impl.template.node\$module\$react = require('react')" out/reagent/impl/template.js