@azure/arm-security
Version:
A generated SDK for SecurityCenter.
40 lines • 1.33 kB
JavaScript
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { __awaiter } from "tslib";
import { record } from "@azure-tools/test-recorder";
const recorderEnvSetup = {
replaceableVariables: {
AZURE_CLIENT_ID: "azure_client_id",
AZURE_CLIENT_SECRET: "azure_client_secret",
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
SUBSCRIPTION_ID: "azure_subscription_id"
},
customizationsOnRecordings: [
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
],
queryParametersToSkip: []
};
describe("My test", () => {
let recorder;
beforeEach(function () {
return __awaiter(this, void 0, void 0, function* () {
recorder = record(this, recorderEnvSetup);
});
});
afterEach(function () {
return __awaiter(this, void 0, void 0, function* () {
yield recorder.stop();
});
});
it("sample test", function () {
return __awaiter(this, void 0, void 0, function* () {
console.log("Hi, I'm a test!");
});
});
});
//# sourceMappingURL=sampleTest.js.map