Skip to content

Commit

Permalink
[#ic-87] remove durable code
Browse files Browse the repository at this point in the history
  • Loading branch information
balanza committed Nov 19, 2021
1 parent 8399976 commit 83c70fb
Show file tree
Hide file tree
Showing 30 changed files with 11 additions and 3,555 deletions.
12 changes: 10 additions & 2 deletions CreateMessage/__tests__/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,16 @@ import {
anotherFiscalCode
} from "../../__mocks__/mocks";
import { initAppInsights } from "@pagopa/ts-commons/lib/appinsights";
import { mockOrchestratorContext } from "../../__mocks__/durable-functions";
import { ApiNewMessageWithDefaults } from "../types";
import { Context } from "@azure/functions";

const createContext = (): Context =>
(({
bindings: {},
executionContext: { functionName: "funcname" },
// eslint-disable no-console
log: { ...console, verbose: console.log }
} as unknown) as Context);

//
// tests
Expand Down Expand Up @@ -296,7 +304,7 @@ describe("CreateMessageHandler", () => {
);

const response = await createMessageHandler(
mockOrchestratorContext,
createContext(),
mockAzureApiAuthorization,
undefined as any,
mockAzureUserAttributes,
Expand Down
10 changes: 0 additions & 10 deletions CreateNotificationActivity/function.json

This file was deleted.

330 changes: 0 additions & 330 deletions CreateNotificationActivity/handler.ts

This file was deleted.

Loading

0 comments on commit 83c70fb

Please sign in to comment.