// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`app --minimal should create default application without Nx welcome component 1`] = `
"
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import styles from './app.module.css';



export function App() {

  return (
    <>
      
      <h1>
        <span> Hello there, </span>
        Welcome plain 👋
      </h1>
     
      <div />
    </>);

}


export default App;

 
if (import.meta.vitest) {
  // add tests related to your file here
  // For more information please visit the Vitest docs site here: https://vitest.dev/guide/in-source.html
  
  const { it, expect, beforeEach } = import.meta.vitest;
  let render: any;

  beforeEach(async () => {
    render = (await import('@testing-library/react')).render;
  });

  
it('should render successfully', () => {
  const { baseElement } = render(<App />);
  expect(baseElement).toBeTruthy();
});

it('should have a greeting as the title', () => {
  const { getByText } = render(<App />);
  expect(getByText(/Welcome plain/gi)).toBeTruthy();
});

}
 "
`;

exports[`app not nested should generate files 1`] = `
"
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import styles from './app.module.css';

import NxWelcome from \\"./nx-welcome\\";



export function App() {

  return (
    <>
      
      <NxWelcome title=\\"my-app\\"/>
     
      <div />
    </>);

}


export default App;

"
`;

exports[`app should create Nx specific template 1`] = `
"
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import styles from './app.module.css';

import NxWelcome from \\"./nx-welcome\\";



export function App() {

  return (
    <>
      
      <NxWelcome title=\\"my-dir-my-app\\"/>
     
      <div />
    </>);

}


export default App;

"
`;
