File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,6 @@ describe("key vault reference", function () {
144144
145145describe("key vault secret refresh", function () {
146146
147- afterEach(() => {
148- restoreMocks();
149- });
150-
151147 beforeEach(() => {
152148 const data = [
153149 ["TestKey", "https://fake-vault-name.vault.azure.net/secrets/fakeSecretName", "SecretValue"]
@@ -157,6 +153,10 @@ describe("key vault secret refresh", function () {
157153 mockAppConfigurationClientListConfigurationSettings([kvs]);
158154 });
159155
156+ afterEach(() => {
157+ restoreMocks();
158+ });
159+
160160 it("should not allow secret refresh interval less than 1 minute", async () => {
161161 const connectionString = createMockedConnectionString();
162162 const loadWithInvalidSecretRefreshInterval = load(connectionString, {
You can’t perform that action at this time.
0 commit comments