---
title: "Discussion on \"Faithful E2E Testing of Nx Preset Generators\" | Hashnode"
description: "Discussion on \"Faithful E2E Testing of Nx Preset Generators\". TLDR: Here's a full working example of a faithful E2E test for an Nx preset generator since the default generated E2E harness isn't correct.\nPutting it all together, here's a full sample test suite:\nimport {\n  checkFilesExist,\n  cleanup,\n  runNxComma..."
url: "https://hashnode.com/posts/faithful-e2e-testing-of-nx-preset-generators/62e9a9a492b7fd0a78c34659"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Faithful E2E Testing of Nx Preset Generators](https://blog.chiubaka.com/faithful-e2e-testing-of-nx-preset-generators?utm_source=hashnode&utm_medium=feed)

TLDR: Here's a full working example of a faithful E2E test for an Nx preset generator since the default generated E2E harness isn't correct. Putting it all together, here's a full sample test suite: import { checkFilesExist, cleanup, runNxComma...

Aug 2, 2022 · 11 min read · blog.chiubaka.com  
Read the article

-   [#e2e](https://hashnode.com/tag/e2e)
-   [#nx](https://hashnode.com/tag/nx)
-   [#nx-preset](https://hashnode.com/tag/nx-preset)
-   [#verdaccio](https://hashnode.com/tag/verdaccio)
-   [#nx-plugin](https://hashnode.com/tag/nx-plugin)

## Written by

[Daniel](https://hashnode.com/@chiubaka)

@chiubaka

  
[View profile](https://hashnode.com/@chiubaka)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
