Skip to content

Commit af86977

Browse files
committed
[ fix #255 ] Remove incorrect config modification expectations from fromDownloads tests
1 parent fee591f commit af86977

File tree

4 files changed

+4
-18
lines changed

4 files changed

+4
-18
lines changed

lib/js/test/tests/Connection/Test__Connection__Config.bs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/js/test/tests/Test__Connection.bs.js

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/tests/Connection/Test__Connection__Config.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ open Test__Util
1515
// └── UI-triggered additions
1616
// └── Switch version UI selection → should add selected path to config
1717

18-
describe_only("Config.Connection paths", () => {
18+
describe("Config.Connection paths", () => {
1919
let userAgda = ref("")
2020
let systemAgda = ref("")
2121
let brokenAgda = ref("/broken/agda")

test/tests/Test__Connection.res

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -716,11 +716,6 @@ describe("Connection", () => {
716716

717717
let policy = Config.Connection.DownloadPolicy.get()
718718
Assert.deepStrictEqual(policy, Config.Connection.DownloadPolicy.Yes)
719-
720-
// Check that the filesystem path was added to config (not the URI path)
721-
let paths = Config.Connection.getAgdaPaths()
722-
let expectedPath = mockEndpoint
723-
Assert.ok(paths->Array.includes(expectedPath))
724719
},
725720
)
726721

@@ -769,11 +764,6 @@ describe("Connection", () => {
769764

770765
let policy = Config.Connection.DownloadPolicy.get()
771766
Assert.deepStrictEqual(policy, Config.Connection.DownloadPolicy.Yes)
772-
773-
// Check that the filesystem path was added to config (not the URI path)
774-
let paths = Config.Connection.getAgdaPaths()
775-
let expectedPath = mockEndpoint
776-
Assert.ok(paths->Array.includes(expectedPath))
777767
},
778768
)
779769

0 commit comments

Comments
 (0)