Skip to content

Commit

Permalink
Fix tests (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
imsitnikov authored Feb 1, 2024
1 parent 8251c3e commit 9bfac40
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/int/common/entries/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ describe('Creating entries', () => {
data: null,
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: `${testFolderName}/`,
links: null,
meta: {},
Expand Down Expand Up @@ -82,6 +83,7 @@ describe('Creating entries', () => {
data: {},
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: `${testFolderName}/dataset`,
links: null,
meta: {},
Expand Down Expand Up @@ -342,6 +344,7 @@ describe('Delete / Recover entry', () => {
data: testDataSaved,
meta: testMetaSaved,
hidden: false,
mirrored: false,
public: false,
workbookId: null,
isDeleted: true,
Expand All @@ -366,6 +369,7 @@ describe('Delete / Recover entry', () => {
data: testDataSaved,
entryId: testEntryId,
hidden: false,
mirrored: false,
key: `${testFolderName}/dataset`,
meta: testMetaSaved,
public: false,
Expand Down Expand Up @@ -405,6 +409,7 @@ describe('Rename entry', () => {
data: testDataPublished,
entryId: testEntryId,
hidden: false,
mirrored: false,
key: `${testFolderName}/test2`,
meta: testMetaPublished,
public: false,
Expand Down
1 change: 1 addition & 0 deletions src/tests/int/common/entries/private.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe('Get entry by private route', () => {
data: {},
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: testEntryName,
links: null,
meta: {},
Expand Down
2 changes: 2 additions & 0 deletions src/tests/int/common/entries/revisions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ describe('Creating entries', () => {
data: null,
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: `${testFolderName}/`,
links: null,
meta: {},
Expand Down Expand Up @@ -85,6 +86,7 @@ describe('Creating entries', () => {
data: {},
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: `${testFolderName}/dataset`,
links: null,
meta: {},
Expand Down
2 changes: 2 additions & 0 deletions src/tests/int/common/workbooks.private.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ describe('Private Entries in workboooks managment', () => {
createdBy: expect.any(String),
entryId: expect.any(String),
hidden: false,
mirrored: false,
isLocked: false,
isFavorite: false,
key: expect.any(String),
Expand Down Expand Up @@ -205,6 +206,7 @@ describe('Private for one workboook managment', () => {
createdBy: expect.any(String),
entryId: expect.any(String),
hidden: false,
mirrored: false,
isLocked: false,
key: expect.any(String),
meta: {},
Expand Down
6 changes: 6 additions & 0 deletions src/tests/int/common/workbooks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ describe('Entries in workboooks managment', () => {
data: {},
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: expect.any(String),
links: null,
meta: {},
Expand Down Expand Up @@ -341,6 +342,7 @@ describe('Entries in workboooks managment', () => {
data: {},
entryId: expect.any(String),
hidden: false,
mirrored: false,
key: expect.any(String),
links: null,
meta: {},
Expand Down Expand Up @@ -372,6 +374,7 @@ describe('Entries in workboooks managment', () => {
createdBy: expect.any(String),
entryId: expect.any(String),
hidden: false,
mirrored: false,
isLocked: false,
isFavorite: false,
key: expect.any(String),
Expand All @@ -389,6 +392,7 @@ describe('Entries in workboooks managment', () => {
createdBy: expect.any(String),
entryId: expect.any(String),
hidden: false,
mirrored: false,
isLocked: false,
isFavorite: false,
key: expect.any(String),
Expand Down Expand Up @@ -449,6 +453,7 @@ describe('Entries in workboooks managment', () => {
createdBy: expect.any(String),
entryId: expect.any(String),
hidden: false,
mirrored: false,
isLocked: false,
isFavorite: false,
key: expect.any(String),
Expand All @@ -466,6 +471,7 @@ describe('Entries in workboooks managment', () => {
createdBy: expect.any(String),
entryId: expect.any(String),
hidden: false,
mirrored: false,
isLocked: false,
isFavorite: false,
key: expect.any(String),
Expand Down

0 comments on commit 9bfac40

Please sign in to comment.