def test_compiled_js_dir_validation(self):
    'Test that build.COMPILED_JS_DIR is validated correctly with\n        outDir in build.TSCONFIG_FILEPATH.\n        '
    build.require_compiled_js_dir_to_be_valid()
    out_dir = ''
    with open(build.TSCONFIG_FILEPATH) as f:
        config_data = json.load(f)
        out_dir = os.path.join(config_data['compilerOptions']['outDir'], '')
    with self.assertRaisesRegexp(Exception, ('COMPILED_JS_DIR: %s does not match the output directory in %s: %s' % (MOCK_COMPILED_JS_DIR, build.TSCONFIG_FILEPATH, out_dir))), self.swap(build, 'COMPILED_JS_DIR', MOCK_COMPILED_JS_DIR):
        build.require_compiled_js_dir_to_be_valid()
Test that build.COMPILED_JS_DIR is validated correctly with
outDir in build.TSCONFIG_FILEPATH.
def test_compiled_js_dir_validation(self):
    'Test that build.COMPILED_JS_DIR is validated correctly with\n        outDir in build.TSCONFIG_FILEPATH.\n        '
    build.require_compiled_js_dir_to_be_valid()
    out_dir = 
    with open(build.TSCONFIG_FILEPATH) as f:
        config_data = json.load(f)
        out_dir = os.path.join(config_data['compilerOptions']['outDir'], )
    with self.assertRaisesRegexp(Exception, ('COMPILED_JS_DIR: %s does not match the output directory in %s: %s' % (MOCK_COMPILED_JS_DIR, build.TSCONFIG_FILEPATH, out_dir))), self.swap(build, 'COMPILED_JS_DIR', MOCK_COMPILED_JS_DIR):
        build.require_compiled_js_dir_to_be_valid()