1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00
This commit is contained in:
andreas-unleash 2022-06-07 09:39:02 +03:00
parent 2490399cd0
commit 1812ba03f8
2 changed files with 2 additions and 1 deletions

View File

@ -173,6 +173,7 @@ export default class FeatureToggleStore implements IFeatureToggleStore {
createdAt: row.created_at,
lastSeenAt: row.last_seen_at,
impressionData: row.impression_data,
archivedAt: row.archived_at,
};
}

View File

@ -105,7 +105,7 @@ test('returns three archived toggles with archivedAt', async () => {
.expect('Content-Type', /json/)
.expect(200)
.expect((res) => {
expect(res.body.features.length === 3).toBe(true);
expect(res.body.features.length).toEqual(3);
expect(res.body.features[0].archivedAt).toBeTruthy();
});
});