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

fix(nextjs): Add spec files when creating a next app #22079

Merged
merged 1 commit into from Mar 1, 2024

Conversation

ndcunningham
Copy link
Contributor

No description provided.

@ndcunningham ndcunningham added the scope: nextjs Issues related to NextJS support for Nx label Feb 29, 2024
@ndcunningham ndcunningham self-assigned this Feb 29, 2024
@ndcunningham ndcunningham requested a review from a team as a code owner February 29, 2024 17:30
Copy link

vercel bot commented Feb 29, 2024

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Feb 29, 2024 5:31pm

@@ -35,7 +35,7 @@ describe('Next.js App Router', () => {
import React from 'react';
import { ${jsLib} } from '@${proj}/${jsLib}';

export default async function Page() {
export default function Page() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Next.js by default generates functions/pages that are not async, for pages/ and app/ routing conventions. We should follow the same assumption.

@ndcunningham ndcunningham merged commit 9f44282 into master Mar 1, 2024
7 checks passed
@ndcunningham ndcunningham deleted the fix/nextjs-add-test-spec branch March 1, 2024 16:28
Copy link

github-actions bot commented Mar 7, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: nextjs Issues related to NextJS support for Nx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants