Greg Magolan | a8f559a | 2019-02-01 16:10:36 -0800 | [diff] [blame^] | 1 | # Copyright 2017 The Bazel Authors. All rights reserved. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | "Defaults for rules_karma repository not meant to be used downstream" |
| 16 | |
| 17 | load( |
| 18 | "@build_bazel_rules_karma//:defs.bzl", |
| 19 | _karma_web_test = "karma_web_test", |
| 20 | _karma_web_test_suite = "karma_web_test_suite", |
| 21 | _ts_web_test = "ts_web_test", |
| 22 | _ts_web_test_suite = "ts_web_test_suite", |
| 23 | ) |
| 24 | |
| 25 | INTERNAL_KARMA_BIN = "@build_bazel_rules_karma//:karma_bin" |
| 26 | |
| 27 | def karma_web_test(karma = INTERNAL_KARMA_BIN, **kwargs): |
| 28 | _karma_web_test(karma = karma, **kwargs) |
| 29 | |
| 30 | def karma_web_test_suite(karma = INTERNAL_KARMA_BIN, **kwargs): |
| 31 | _karma_web_test_suite(karma = karma, **kwargs) |
| 32 | |
| 33 | def ts_web_test(karma = INTERNAL_KARMA_BIN, **kwargs): |
| 34 | _ts_web_test(karma = karma, **kwargs) |
| 35 | |
| 36 | def ts_web_test_suite(karma = INTERNAL_KARMA_BIN, **kwargs): |
| 37 | _ts_web_test_suite(karma = karma, **kwargs) |