# Trouble on adding a simple unit test for Youtube oneboxing

**URL:** <https://meta.discourse.org/t/trouble-on-adding-a-simple-unit-test-for-youtube-oneboxing/247546>\
**Category:** Development\
**Tags:** onebox, testing\
**Created:** [December 2, 2022, 8:49pm UTC](https://meta.discourse.org/t/trouble-on-adding-a-simple-unit-test-for-youtube-oneboxing/247546 "2022-12-02T20:49:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [December 2, 2022, 9:57pm UTC](https://meta.discourse.org/t/trouble-on-adding-a-simple-unit-test-for-youtube-oneboxing/247546/3 "2022-12-02T21:57:52Z")

</div>

Can you open a draft PR with your current changes? That will be easier to follow along and help with. With the current information it looks like you need to create the stub files and stub and the outgoing requests.

---

_[View the full topic](https://meta.discourse.org/t/trouble-on-adding-a-simple-unit-test-for-youtube-oneboxing/247546)._
