Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor/last seen at archived #5102

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Conversation

FredrikOseberg
Copy link
Contributor

Refactor global archive view and project archive view to include last seen at by environment

@vercel
Copy link

vercel bot commented Oct 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 19, 2023 0:48am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 0:48am

const featureEnvironments = body.features[0].environments;
const [def, development, production] = featureEnvironments;

expect(def.name).toBe('default');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if we can make it more expressive using toMatchObject. Sometimes it's not possible but whenever I can write toMatchObject(listFieldsICareAbout) I prefer it for readability.

@FredrikOseberg FredrikOseberg merged commit 71431c7 into main Oct 20, 2023
14 checks passed
@FredrikOseberg FredrikOseberg deleted the feat/last-seen-at-archived branch October 20, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants