| 17 | afterEach(() => DITest.reset()); |
| 18 | it("should validate the loaded configuration", async () => { |
| 19 | class TestConfigSource implements ConfigSource { |
| 20 | options: {}; |
| 21 | |
| 22 | getAll() { |
| 23 | return Promise.resolve({ |
| 24 | test: "string", |
| 25 | test2: "3", |
| 26 | bool: "true", |
| 27 | extraValue: "true", |
| 28 | ...this.options |
| 29 | }); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | configuration().set("extends", [ |
| 34 | withOptions(TestConfigSource, { |
nothing calls this directly
no outgoing calls
no test coverage detected