Skip to content

Commit

Permalink
fix: test/build_bundless_test.go: fix test to not depend on absolute …
Browse files Browse the repository at this point in the history
…paths
  • Loading branch information
joelmoss committed Dec 30, 2024
1 parent 4de47d1 commit 2cd2580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/build_bundless_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ var _ = Describe("Build bundless", func() {
It("should fail on engined but unknown entrypoint", func() {
result := b.Build("gem3/unknown.js")

Expect(result.Errors[0].Text).To(Equal("Could not read from file: /Users/joelmoss/dev/proscenium/fixtures/dummy/vendor/gem3/unknown.js"))
Expect(result.Errors[0].Text).To(HavePrefix("Could not read from file: /"))
})

It("resolves entry point", func() {
Expand Down Expand Up @@ -194,7 +194,7 @@ var _ = Describe("Build bundless", func() {
It("should fail on engined but unknown entrypoint", func() {
result := b.Build("gem4/unknown.js")

Expect(result.Errors[0].Text).To(Equal("Could not read from file: /Users/joelmoss/dev/proscenium/fixtures/external/gem4/unknown.js"))
Expect(result.Errors[0].Text).To(HavePrefix("Could not read from file: /"))
})

It("resolves entry point", func() {
Expand Down

0 comments on commit 2cd2580

Please sign in to comment.