Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
9f17b97
Last of current dependency updates.
Jason-Benson Feb 27, 2026
5f9a145
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] Feb 27, 2026
97dbf6a
fixed typing issue in ingest
Jason-Benson Feb 27, 2026
ef1db72
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] Feb 27, 2026
aebfb70
reformated req calls in edit.ts for consistency.
Jason-Benson Mar 2, 2026
c4433ce
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] Mar 2, 2026
e4e2444
1st round of client dependency updates
Jason-Benson Mar 3, 2026
0681d8c
fixed broken snapshot references in tests
Jason-Benson Mar 3, 2026
6c87cc7
fixed more snapshot test references.
Jason-Benson Mar 3, 2026
c26f0be
updated x-tree-view and fixed a number of broken tests from dependenc…
Jason-Benson Mar 3, 2026
725e6e1
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] Mar 3, 2026
e2237cd
Merge branch 'dev' into depend10
demiankatz Mar 3, 2026
939656a
Rollback
demiankatz Mar 3, 2026
0b5b228
mui dependencies
Jason-Benson Mar 4, 2026
c783023
updating react and next
Jason-Benson Mar 4, 2026
bf78d77
Updated Next.js, React, and all dependencies
Jason-Benson Mar 6, 2026
610c319
updated MUI grid calls for version 7
Jason-Benson Mar 6, 2026
35e658c
Updating tests to use @testing-library/react instead of react-test-re…
Jason-Benson Mar 10, 2026
d7cd918
mend
Jason-Benson Mar 12, 2026
98db436
Replaced all instances of ': React.ReactElement<any> =>' with ': Reac…
Jason-Benson Mar 16, 2026
f95ffc8
Fixed Lint and updated code flagged by it.
Jason-Benson Mar 16, 2026
2039b43
tweaked the eslint config to include tsx files and worked on fixing m…
Jason-Benson Mar 17, 2026
ab03d3e
Updated the format commant to run prettier without the old NEXT function
Jason-Benson Mar 18, 2026
ed1018b
fixed more tests
Jason-Benson Mar 18, 2026
5401678
fixung more tests
Jason-Benson Mar 23, 2026
e2ebab6
still fixing tests
Jason-Benson Mar 24, 2026
87d199d
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] Mar 24, 2026
1c45018
updating lint and format settings.
Jason-Benson Mar 25, 2026
08bd01d
fixing tests
Jason-Benson Mar 25, 2026
ef7b62c
Tweak linting.
demiankatz Mar 25, 2026
1b44a64
more more tests tests
Jason-Benson Mar 25, 2026
a737a4f
Merge remote-tracking branch 'upstream/dev' into depend10
Jason-Benson Mar 25, 2026
70f7fbc
still fixing tests
Jason-Benson Mar 26, 2026
99eca17
All client side tests now working!
Jason-Benson Mar 26, 2026
156e398
Update client/eslint.config.mjs
Jason-Benson Mar 31, 2026
83fc96b
Adjust prettier and eslint to review all files.
demiankatz Mar 31, 2026
5ce4abb
fix issues flagged by changes to Lint.
Jason-Benson Mar 31, 2026
59c8211
Fixes date-time picker in process editor
Jason-Benson Apr 8, 2026
fbfebd5
Fixing the SimpleTreeView implementation
Jason-Benson Apr 8, 2026
d4a2d23
Commit from GitHub Actions (Lint Pull Requests)
github-actions[bot] Apr 9, 2026
3d9b7c4
fixed JobSelector.test.tsx rendering empty snapshot.
Jason-Benson Apr 13, 2026
f30ba2e
fixed createobjecttest.tsx
Jason-Benson Apr 13, 2026
0b03879
removed extranious commented code.
Jason-Benson Apr 15, 2026
86813c5
Fixed order and scope of some tests to correct empty snapshots.
Jason-Benson Apr 15, 2026
8353f14
fixed another case of empty snapshot
Jason-Benson Apr 15, 2026
186901e
fixing tests
Jason-Benson Apr 16, 2026
8159e5d
forgot to remove comments
Jason-Benson Apr 16, 2026
d82a783
fixing tests
Jason-Benson Apr 20, 2026
7a4edef
fixing tests
Jason-Benson Apr 20, 2026
da0fe87
removed merge tags
Jason-Benson Apr 21, 2026
2f0ee0c
reordered one test in Child.test.tsx
Jason-Benson Apr 21, 2026
8e07c0d
Reworked ChildList.test.tsx to better match source
Jason-Benson Apr 21, 2026
250570b
Reworked DatastreamViewModalContent.test
Jason-Benson Apr 21, 2026
e664d17
Fixed ObjectChildCounts.test.tsx
Jason-Benson Apr 21, 2026
14fc40c
fixed tests
Jason-Benson Apr 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "npx tsc",
"format": "prettier --check --write *.js src/**",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint *.js src/ -c eslint.config.mjs --max-warnings 0",
"lint": "prettier --check *.js src/** && ESLINT_USE_FLAT_CONFIG=true eslint *.js src/ -c eslint.config.mjs --max-warnings 0",
"start:serverWatch": "nodemon --watch 'vudl.ini' --watch '**/*.ts' --watch '**/*.ejs' --ignore node_modules/ src/server.ts",
"start:workerWatch": "nodemon --watch 'vudl.ini' --watch '**/*.ts' src/worker-start.ts",
"start:server": "ts-node src/server.ts",
Expand Down
15 changes: 4 additions & 11 deletions client/components/LogoutButton.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from "react";
import { beforeEach, describe, expect, it, jest } from "@jest/globals";
import { render, screen } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import renderer from "react-test-renderer";
import LogoutButton from "./LogoutButton";

const mockUseFetchContext = jest.fn();
Expand All @@ -27,20 +26,14 @@ describe("LogoutButton", () => {
});

it("renders correctly when logged in", async () => {
let tree;
await renderer.act(async () => {
tree = renderer.create(<LogoutButton />);
});
expect(tree.toJSON()).toMatchSnapshot();
const { asFragment } = render(<LogoutButton />);
expect(asFragment()).toMatchSnapshot();
});

it("renders correctly when logged out", async () => {
fetchValues.state.token = null;
let tree;
await renderer.act(async () => {
tree = renderer.create(<LogoutButton />);
});
expect(tree.toJSON()).toMatchSnapshot();
const { asFragment } = render(<LogoutButton />);
expect(asFragment()).toMatchSnapshot();
});

it("clears the token", async () => {
Expand Down
23 changes: 12 additions & 11 deletions client/components/__snapshots__/LogoutButton.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`LogoutButton renders correctly when logged in 1`] = `
<div
className="logout"
>
<a
className="button btn-primary"
href="http://localhost:9000/api/auth/logout"
onClick={[MockFunction]}
<DocumentFragment>
<div
class="logout"
>
Log Out
</a>
</div>
<a
class="button btn-primary"
href="http://localhost:9000/api/auth/logout"
>
Log Out
</a>
</div>
</DocumentFragment>
`;

exports[`LogoutButton renders correctly when logged out 1`] = `null`;
exports[`LogoutButton renders correctly when logged out 1`] = `<DocumentFragment />`;
8 changes: 3 additions & 5 deletions client/components/bulk/BulkEditor.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React from "react";
import { beforeEach, describe, expect, it, jest } from "@jest/globals";
import { act } from "react-dom/test-utils";
import { act } from "react";
import { fireEvent, render, screen } from "@testing-library/react";
import renderer from "react-test-renderer";
import BulkEditor from "./BulkEditor";

const mockUseEditorContext = jest.fn();
Expand Down Expand Up @@ -46,8 +44,8 @@ describe("BulkEditor", () => {
});

it("renders", () => {
const tree = renderer.create(<BulkEditor />).toJSON();
expect(tree).toMatchSnapshot();
const { asFragment } = render(<BulkEditor />);
expect(asFragment()).toMatchSnapshot();
});

it("reports failure if it receives bad JSON", async () => {
Expand Down
Loading