if test "$AUTOPKGTEST_TMP" != ""; then
	LIST=$(pkgjs-utils root_components_list)
	for p in $LIST; do
		(
			cd $p
			rm -rf dist
			ln -s /usr/share/nodejs/`pkgjs-pjson . name`/dist
		)
	done
	ln -s ../scripts/babel-preset-emotion-dev node_modules/
fi
# Test built files but only on components really installed
jest --ci -c jest.dist.js --bail $(find $(pkgjs-utils root_components_list) -name '*.test.js')
