def METHOD_NAME(self):
    self.template_path = os.path.join(self.test_data_path, "template_with_metadata.yaml")
    codeuri = os.path.join(self.test_data_path, "Esbuild", "NodeWithLocalDependency")
    self.source_directories = [codeuri]
    runtime = "nodejs16.x"
    architecture = "x86_64"
    self._test_with_default_package_json(
        build_in_source=True,
        runtime=runtime,
        code_uri=codeuri,
        handler="main.lambdaHandler",
        architecture=architecture,
        use_container=False,
        expected_files={"main.js", "main.js.map"},
    )
    # check whether dependencies were installed in source dir
    self.assertEqual(os.path.isdir(os.path.join(codeuri, "node_modules")), True)