Skip to content

Commit

Permalink
build: remove unused variables in starlark code
Browse files Browse the repository at this point in the history
Removes unused variables in Starlark code now that Buildifier
seems to flag these as failures.
  • Loading branch information
devversion authored and crisbeto committed Mar 26, 2022
1 parent f7f43a6 commit 0d6244a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/defaults.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def jasmine_node_test(**kwargs):
kwargs["templated_args"] = ["--bazel_patch_module_resolver"] + kwargs.get("templated_args", [])
_jasmine_node_test(**kwargs)

def ng_test_library(deps = [], tsconfig = None, **kwargs):
def ng_test_library(deps = [], **kwargs):
local_deps = [
# We declare "@angular/core" as default dependencies because
# all Angular component unit tests use the `TestBed` and `Component` exports.
Expand All @@ -269,7 +269,7 @@ def ng_test_library(deps = [], tsconfig = None, **kwargs):
**kwargs
)

def ng_e2e_test_library(deps = [], tsconfig = None, **kwargs):
def ng_e2e_test_library(deps = [], **kwargs):
local_deps = [
"@npm//@types/jasmine",
"@npm//@types/selenium-webdriver",
Expand All @@ -283,7 +283,6 @@ def ng_e2e_test_library(deps = [], tsconfig = None, **kwargs):
)

def karma_web_test_suite(name, **kwargs):
web_test_args = {}
test_deps = kwargs.get("deps", [])

kwargs["tags"] = ["partial-compilation-integration"] + kwargs.get("tags", [])
Expand Down

0 comments on commit 0d6244a

Please sign in to comment.