summaryrefslogtreecommitdiff
path: root/cli/tests/inspector_coverage.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-14 20:09:50 +0200
committerGitHub <noreply@github.com>2020-04-14 20:09:50 +0200
commita7a3a771a0a0cb2df2a14bcf4b8c38bc69525dd6 (patch)
tree15e06be19038221ef25b6bed4970677e24b38a8f /cli/tests/inspector_coverage.js
parente4c130d89b80c8c214df0f48af254023f5b5de15 (diff)
test(inspector): add coverage test case (#4725)
Diffstat (limited to 'cli/tests/inspector_coverage.js')
-rw-r--r--cli/tests/inspector_coverage.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/tests/inspector_coverage.js b/cli/tests/inspector_coverage.js
new file mode 100644
index 000000000..3db0e5a19
--- /dev/null
+++ b/cli/tests/inspector_coverage.js
@@ -0,0 +1,16 @@
+function a() {
+ console.log("hello a");
+}
+
+function b() {
+ console.log("hello b");
+}
+
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
+function c() {
+ console.log("hello c");
+}
+
+a();
+b();
+b();