Skip to content

Commit

Permalink
front-end version update && knip && prestorybook
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Feb 7, 2024
1 parent 0b841ad commit c4e20c0
Show file tree
Hide file tree
Showing 6 changed files with 309 additions and 299 deletions.
4 changes: 4 additions & 0 deletions starsky/starsky/clientapp/.storybook/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ const setRouter = require("../../../../starsky-tools/mock/set-router").setRouter
const bodyParser = require("body-parser");

const expressMiddleWare = (router) => {
if (!router) {
return;
}

router.use(bodyParser.urlencoded({ extended: true }));

router.get("/hello", (req, res) => {
Expand Down
1 change: 1 addition & 0 deletions starsky/starsky/clientapp/jest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "@testing-library/jest-dom";
import { configure } from "@testing-library/react";
import "@types/jest";
import "isomorphic-fetch";
import "jest-environment-jsdom";
import "ts-node";
Expand Down
Loading

1 comment on commit c4e20c0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.