---
title: "Discussion on \"Angular directive testing\" | Hashnode"
description: "Discussion on \"Angular directive testing\". In this article, I'll show how to test Angular directive. To test it I'll create appCloneElement directive. Its purpose is to duplicate HTML elements given n times.\nSetup\nIf unsure how to set up Angular with Jest please refer to the article: https://..."
url: "https://hashnode.com/posts/angular-directive-testing/643bc77eab635c63bbf7ba39"
---

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

Discussion

# [Angular directive testing](https://blog.procode.pl/angular-directive-testing?utm_source=hashnode&utm_medium=feed)

In this article, I'll show how to test Angular directive. To test it I'll create appCloneElement directive. Its purpose is to duplicate HTML elements given n times. Setup If unsure how to set up Angular with Jest please refer to the article: https://...

Apr 16, 2023 · 5 min read · blog.procode.pl  
Read the article

-   [#angular](https://hashnode.com/tag/angular)
-   [#testing](https://hashnode.com/tag/testing)
-   [#directive](https://hashnode.com/tag/directive)
-   [#jest](https://hashnode.com/tag/jest)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Bartosz Szłapak](https://hashnode.com/@Barcioch)

@Barcioch · Warsaw, Poland

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

Full stack developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
