Skip to content

Commit 7a3ab4a

Browse files
CCM-12081: Build CLI tool to send event for client config (#68)
* wip: csv-to-input converter + cli to build event * rename packages * update to using pnpm for a common cli syntax used in core * updates to event builder * update readme * update workflow to use pnnpm * update csv converter to allow multiple rows + add tests * fix: revert schemas package naming format to match how similar existing packages are published * cleanup * update import * fix: rule in script preventing words ending with s * CCM-11892: Build trigger event (#59) * CCM-11327: Schema setup - Revise the config model schema - Add skeleton for specification config - Add mermaid diagrams for model * CCM-11327: Add model for letter specifications * CCM-11327: Refactor specification model to replace SupplierSpec with Pack + Fix branded ID types * update existing failing test * remove client to be managed by another event * setup client-mutated event for client creation and update * update event schema tests * cleanup leak history * fix schema workspace name in package.json * cleanup package/schemas * add event-builder package * updates * update dataschema * fix test * update: V1 -> v1 * add example of event with v1 minimal inputs * rename event: ClientMutated -> ClientChanged * more updates with event renaming --------- Co-authored-by: Mike Houston <michael.houston4@nhs.net> Co-authored-by: Mike Houston <60653100+m-houston@users.noreply.github.com> * Update CODEOWNERS for new team name (#67) nhs-notify-config -> nhs-notify-client-config * update cli tool to send events to sqs queue * event type renaming: nhs.notify.config -> nhs.notify.client-config * more updates from repo renaming * update lock file with dependency updates from merge * update dependencies * Revert "update workflow to use pnnpm" This reverts commit fcaecaa. * fix: updates to revert to npm * updates * strip input csv to only need clientName & APIM ID * Revert "strip input csv to only need clientName & APIM ID" This reverts commit 1db90d5. * fix issue with eslint-config-airbnb-base v15 not supporting dependency eslint v9 yet * lint fixes + updates * revert removed commented out code * fix cli script not working + update README * minor update * update client-published examples and test data to match new schema * Update packages/event-builder/src/send-event-to-queue.ts Co-authored-by: Mike Houston <60653100+m-houston@users.noreply.github.com> --------- Co-authored-by: Mike Houston <michael.houston4@nhs.net> Co-authored-by: Mike Houston <60653100+m-houston@users.noreply.github.com>
1 parent e86136b commit 7a3ab4a

21 files changed

Lines changed: 10973 additions & 11143 deletions

File tree

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
import { render, screen } from '@testing-library/react';
2-
import Page from '../../app/page';
1+
import React from "react";
2+
import { render, screen } from "@testing-library/react";
3+
import Home from "../../app/page";
34

4-
describe('Home page', () => {
5-
it('renders the Hello World heading', () => {
6-
render(<Page />);
7-
expect(screen.getByRole('heading', { name: /hello world/i })).toBeInTheDocument();
5+
describe("Home page", () => {
6+
it("renders the Hello World heading", () => {
7+
render(<Home />);
8+
expect(
9+
screen.getByRole("heading", { name: /hello world/i }),
10+
).toBeInTheDocument();
811
});
912

10-
it('renders a main landmark', () => {
11-
render(<Page />);
12-
expect(screen.getByRole('main')).toBeInTheDocument();
13+
it("renders a main landmark", () => {
14+
render(<Home />);
15+
expect(screen.getByRole("main")).toBeInTheDocument();
1316
});
1417
});

0 commit comments

Comments
 (0)