Labels are ordered by creation time in API now

This commit is contained in:
Jackson Harper 2022-04-06 11:00:14 -07:00
parent 48ca13818f
commit a68a5fb066

View file

@ -80,7 +80,7 @@ describe('Labels API', () => {
user: { id: user.id },
})
expect(res.body.data.labels.labels).to.eql(
labels.map((label) => ({
labels.reverse().map((label) => ({
id: label.id,
name: label.name,
color: label.color,