Skip to content

Commit

Permalink
update tests to match feature
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianWhitneyAI committed May 6, 2024
1 parent 289829a commit 0f3d65b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe(`${RUN_IN_RENDERER} PersistentConfigServiceElectron`, () => {
name: "ZEN",
},
];
const expectedRecentAnnotations = ["column"];
const expectedQueries = [
{
name: "foo",
Expand All @@ -71,6 +72,7 @@ describe(`${RUN_IN_RENDERER} PersistentConfigServiceElectron`, () => {
);
service.persist(PersistedConfigKeys.UserSelectedApplications, expectedUserSelectedApps);
service.persist(PersistedConfigKeys.DisplayAnnotations, expectedDisplayAnnotations);
service.persist(PersistedConfigKeys.RecentAnnotations, expectedRecentAnnotations);

const expectedConfig = {
[PersistedConfigKeys.AllenMountPoint]: expectedAllenMountPoint,
Expand All @@ -80,6 +82,7 @@ describe(`${RUN_IN_RENDERER} PersistentConfigServiceElectron`, () => {
[PersistedConfigKeys.HasUsedApplicationBefore]: expectedHasUsedApplicationBefore,
[PersistedConfigKeys.UserSelectedApplications]: expectedUserSelectedApps,
[PersistedConfigKeys.DisplayAnnotations]: expectedDisplayAnnotations,
[PersistedConfigKeys.RecentAnnotations]: expectedRecentAnnotations,
};

// Act
Expand Down Expand Up @@ -116,6 +119,7 @@ describe(`${RUN_IN_RENDERER} PersistentConfigServiceElectron`, () => {
units: "string",
},
],
[PersistedConfigKeys.RecentAnnotations]: ["column"],
};

// Act
Expand Down

0 comments on commit 0f3d65b

Please sign in to comment.