chore: update nix config to reference babel.config.js file (#14436)
* chore: update nix config to reference babel.config.js file * chore: update component test make command
This commit is contained in:
parent
9e7db45d08
commit
9de4417f03
8
.babelrc
8
.babelrc
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
"presets": [
|
|
||||||
"module:metro-react-native-babel-preset"
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"react-native-reanimated/plugin"
|
|
||||||
]
|
|
||||||
}
|
|
4
Makefile
4
Makefile
|
@ -322,8 +322,8 @@ run-visual-test-ios: ##@test Run tests once in NodeJS
|
||||||
detox test --configuration ios.sim.debug
|
detox test --configuration ios.sim.debug
|
||||||
|
|
||||||
component-test-watch: export TARGET := clojure
|
component-test-watch: export TARGET := clojure
|
||||||
component-test: export COMPONENT_TEST := true
|
component-test-watch: export COMPONENT_TEST := true
|
||||||
component-test: export BABEL_ENV := test
|
component-test-watch: export BABEL_ENV := test
|
||||||
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
||||||
yarn install
|
yarn install
|
||||||
nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js' -e cljs
|
nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js' -e cljs
|
||||||
|
|
|
@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
|
||||||
filter = lib.mkFilter {
|
filter = lib.mkFilter {
|
||||||
root = path;
|
root = path;
|
||||||
include = [
|
include = [
|
||||||
"package.json" "yarn.lock" "metro.config.js" ".babelrc"
|
"package.json" "yarn.lock" "metro.config.js" "babel.config.js"
|
||||||
"resources/.*" "translations/.*" "src/js/worklet_factory.js"
|
"resources/.*" "translations/.*" "src/js/worklet_factory.js"
|
||||||
"modules/react-native-status/android.*" "android/.*"
|
"modules/react-native-status/android.*" "android/.*"
|
||||||
envFileName "VERSION" "status-go-version.json" "react-native.config.js"
|
envFileName "VERSION" "status-go-version.json" "react-native.config.js"
|
||||||
|
|
Loading…
Reference in New Issue