#!/bin/sh

# Create a temporary sync function for sample-sync-doc-definitions.js and then runs all of its unit tests with Mocha.
mkdir -p target/

../sync-function-maker.rb sample-sync-doc-definitions.js target/test-sample-sync-function.js

node_modules/.bin/mocha

#!/bin/sh

# Create a temporary sync function for sample-sync-doc-definitions.js and then runs all of its unit tests with Mocha.
mkdir -p target/

../make-sync-function.rb sample-sync-doc-definitions.js target/test-sample-sync-function.js

node_modules/.bin/mocha

Fix the filename of the make-sync-function script in the test runner
Fix the filename of the make-sync-function script in the test runner
