Outlook_Addin_LLM/node_modules/@azure/arm-subscriptions/dist-esm/test/sampleTest.js

38 lines
1.2 KiB
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 { Recorder } from "@azure-tools/test-recorder";
const 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"
};
const recorderOptions = {
envSetupForPlayback: replaceableVariables
};
describe("My test", () => {
let recorder;
beforeEach(function () {
return __awaiter(this, void 0, void 0, function* () {
recorder = new Recorder(this.currentTest);
yield recorder.start(recorderOptions);
});
});
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