Skip to content

Commit 8cbedb9

Browse files
committed
wip 102
1 parent 6c37611 commit 8cbedb9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test-cap-server/cds-test-check-service.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
const cds = require("@sap/cds");
44
const toggles = require("../src");
55

6-
// TODO how do we get our plugin and @sap/cds-mtxs loaded as part of the plugin startup here
7-
// NOTE: the cds.test server naturally loads the plugins of the passed in directory test-cap-server, which
8-
// in turn defaults to the plugins of the project root, i.e., our cap dev dependencies. Unfortunately, this does
9-
// not include our own plugin. So, we patch it in here...
106
const server = cds.test("test-cap-server");
117
const systemCall = { validateStatus: () => true, auth: { username: "system", password: "system" } };
128

@@ -23,7 +19,6 @@ describe("test-cap-server check-service", () => {
2319
});
2420

2521
test("priority endpoint with feature is true", async () => {
26-
const bla = cds.env;
2722
await toggles.changeFeatureValue("/fts/check-service-extension", true);
2823
expect(toggles.getFeatureValue("/fts/check-service-extension")).toBe(true);
2924
const response = await server.get("/rest/check/priority", systemCall);

0 commit comments

Comments
 (0)