if test "$AUTOPKGTEST_TMP" != ""; then
	mkdir -p node_modules/@types
	for m in bs-logger buffer-from lodash.memoize mkdirp; do
		ln -s `nodepath $m` node_modules/
	done
	rm -f dist
	cp -a `nodepath ts-jest`/dist .
	cp -a `nodepath ts-jest`/.ts-jest-digest .
	cp -a /usr/share/nodejs/@types/buffer-from node_modules/@types/
	cp -a /usr/share/nodejs/@types/mkdirp node_modules/@types/
	rm -f src/index.spec.ts
fi
jest --ci -u --testPathIgnorePatterns __mocks__
