chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:38:36 +08:00
commit 8e2a6eb840
10194 changed files with 1593658 additions and 0 deletions
@@ -0,0 +1,30 @@
import { runCLI, runE2ETests } from '@nx/e2e-utils';
import {
setupCypressComponentTests,
cleanupCypressComponentTests,
CypressComponentTestsSetup,
} from './cypress-component-tests-setup';
describe('Angular Cypress Component Tests - App', () => {
let setup: CypressComponentTestsSetup;
beforeAll(async () => {
setup = setupCypressComponentTests();
});
afterAll(() => cleanupCypressComponentTests());
// TODO(jack): re-enable when lodash@4.18.0 assignWith bug is resolved
it.skip('should test app', () => {
const { appName } = setup;
runCLI(
`generate @nx/angular:cypress-component-configuration --project=${appName} --generate-tests --no-interactive`
);
if (runE2ETests('cypress')) {
expect(runCLI(`component-test ${appName}`)).toContain(
'All specs passed!'
);
}
}, 300_000);
});