Skip to content

Commit

Permalink
e2e: add an actual test
Browse files Browse the repository at this point in the history
  • Loading branch information
mgred committed Jan 1, 2024
1 parent 9e3553b commit b038eef
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 185 deletions.
6 changes: 6 additions & 0 deletions e2e/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
load("@bazel_skylib//rules:build_test.bzl", "build_test")
load("@bzlparty_rules_quickjs//quickjs:qjs.bzl", "qjs_binary")

qjs_binary(
name = "info",
entry_point = ":info.js",
)

build_test(
name = "info_test",
targets = [":info"],
)
2 changes: 2 additions & 0 deletions e2e/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module(name = "bzlparty_rules_quickjs_e2e")

bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "bzlparty_rules_quickjs")

local_path_override(
module_name = "bzlparty_rules_quickjs",
path = "..",
Expand Down

0 comments on commit b038eef

Please sign in to comment.