diff --git a/tools/test-js-with-node b/tools/test-js-with-node index e29dcd1311..1f2f1a319c 100755 --- a/tools/test-js-with-node +++ b/tools/test-js-with-node @@ -3,7 +3,6 @@ import optparse import os import subprocess import sys -import ujson from typing import Dict TOOLS_DIR = os.path.dirname(os.path.abspath(__file__)) @@ -14,6 +13,9 @@ ROOT_DIR = os.path.dirname(TOOLS_DIR) from tools.lib import sanity_check sanity_check.check_venv(__file__) +# Import this after we do the sanity_check so it doesn't crash. +import ujson + USAGE = ''' tools/test-js-with-node - to run all tests tools/test-js-with-node util.js activity.js - to run just a couple tests