mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
Bug fix
This commit is contained in:
parent
2490399cd0
commit
1812ba03f8
@ -173,6 +173,7 @@ export default class FeatureToggleStore implements IFeatureToggleStore {
|
|||||||
createdAt: row.created_at,
|
createdAt: row.created_at,
|
||||||
lastSeenAt: row.last_seen_at,
|
lastSeenAt: row.last_seen_at,
|
||||||
impressionData: row.impression_data,
|
impressionData: row.impression_data,
|
||||||
|
archivedAt: row.archived_at,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ test('returns three archived toggles with archivedAt', async () => {
|
|||||||
.expect('Content-Type', /json/)
|
.expect('Content-Type', /json/)
|
||||||
.expect(200)
|
.expect(200)
|
||||||
.expect((res) => {
|
.expect((res) => {
|
||||||
expect(res.body.features.length === 3).toBe(true);
|
expect(res.body.features.length).toEqual(3);
|
||||||
expect(res.body.features[0].archivedAt).toBeTruthy();
|
expect(res.body.features[0].archivedAt).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user