Skip to content

Commit

Permalink
368 Test expects specific annotation from LabKey (not top-level annot…
Browse files Browse the repository at this point in the history
…ation)
  • Loading branch information
pgarrison committed Dec 19, 2024
1 parent 1126cd9 commit 022377f
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import FileDetail from "../../../entity/FileDetail";
import ExecutionEnvServiceNoop from "../../../services/ExecutionEnvService/ExecutionEnvServiceNoop";
import { initialState } from "../../../state";
import { TOP_LEVEL_FILE_ANNOTATIONS } from "../../../constants";
import Annotation from "../../../entity/Annotation";
import { AnnotationType } from "../../../entity/AnnotationFormatter";

describe("<FileAnnotationList />", () => {
describe("file path representation", () => {
Expand All @@ -25,7 +27,15 @@ describe("<FileAnnotationList />", () => {
const { store } = configureMockStore({
state: mergeState(initialState, {
metadata: {
annotations: TOP_LEVEL_FILE_ANNOTATIONS,
annotations: [
...TOP_LEVEL_FILE_ANNOTATIONS,
new Annotation({
annotationName: "Local File Path",
annotationDisplayName: "File Path (Local)",
description: "Path to file in on-premises storage.",
type: AnnotationType.STRING,
}),
],
},
interaction: {
platformDependentServices: {
Expand Down

0 comments on commit 022377f

Please sign in to comment.