-
Notifications
You must be signed in to change notification settings - Fork 1
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(vite): e2e fixes for crystal #8
base: crystal-default
Are you sure you want to change the base?
fix(vite): e2e fixes for crystal #8
Conversation
@@ -78,40 +77,4 @@ describe('@nx/vite/plugin', () => { | |||
} | |||
}); | |||
}); | |||
|
|||
describe('react with vitest only', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed for e2e. This can be checked within unit tests, and is indeed being checked in unit tests.
@@ -68,84 +65,12 @@ describe('Vite Plugin', () => { | |||
expect(fileExists(`dist/apps/${myApp}/package.json`)).toBeFalsy(); | |||
rmDist(); | |||
}, 200_000); | |||
|
|||
it('should build application with new package json generation', async () => { | |||
runCLI(`build ${myApp} --generatePackageJson`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generatePackageJson
not supported by vite
natively
}); | ||
|
||
100_000; | ||
}); | ||
|
||
describe('incremental building', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change this test to just test the building of dependencies
@@ -302,59 +198,6 @@ export default App; | |||
expect(directoryExists(coverageDir)).toBeTruthy(); | |||
}, 100_000); | |||
|
|||
// TODO: This takes forever and times out everything - find out why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not using the @nx/vitest
executor any more. so this test is not needed
Fix vite e2e for project crystal.
I removed the following:
--buildLibsFromSource
--generatePackageJson