1 00:00:01,580 --> 00:00:03,800 We just got our first test running which is fantastic. 2 00:00:03,800 --> 00:00:07,510 But before we continue I want to give you an extremely important note. 3 00:00:07,610 --> 00:00:11,830 Remember just by itself does not have support for typescript out of the box. 4 00:00:11,870 --> 00:00:17,630 So we are using that extra little library that we installed very quickly back inside our package not 5 00:00:17,630 --> 00:00:18,380 just on file. 6 00:00:18,380 --> 00:00:20,110 We installed T.S. Jess. 7 00:00:20,240 --> 00:00:23,240 That is what gives just the ability to understand typescript. 8 00:00:23,270 --> 00:00:28,970 Now this library or something inside a jest or something along this entire tool chain sometimes does 9 00:00:28,970 --> 00:00:30,860 not work correctly. 10 00:00:30,860 --> 00:00:34,390 So every now and then I can guarantee you are going to run into this every now and then. 11 00:00:34,430 --> 00:00:36,120 You're going to see a test failing. 12 00:00:36,320 --> 00:00:37,910 You're then going to go and try to fix it. 13 00:00:37,940 --> 00:00:41,950 You're going to save a file and then you're going to see that the test is still failing. 14 00:00:41,990 --> 00:00:44,960 Even if you really think that you fix the issue up. 15 00:00:44,960 --> 00:00:49,250 So sometimes either jest or T.S. just I don't really know which one is causing the issue. 16 00:00:49,250 --> 00:00:53,060 Sometimes they do not detect changes that you are making to your files. 17 00:00:53,090 --> 00:00:57,770 It is really hard for me to replicate this issue in any way but it's something that I noticed while 18 00:00:57,800 --> 00:00:59,600 I was developing this application. 19 00:00:59,600 --> 00:01:04,850 So if you ever run into a scenario where a test is failing you go and change a file and you really think 20 00:01:04,880 --> 00:01:07,370 you fix the issue but it's still not passing. 21 00:01:07,370 --> 00:01:08,300 Here's how to solve it. 22 00:01:08,330 --> 00:01:16,530 All you gotta do restart just hit control see rerun NPM run test and now just should see the updated 23 00:01:16,530 --> 00:01:17,210 file. 24 00:01:17,370 --> 00:01:21,570 So again if you start to make changes and you don't see them reflected in your test suite just restart 25 00:01:21,720 --> 00:01:23,240 that's all you gotta do. 26 00:01:23,280 --> 00:01:24,420 So that's all I want to mention here. 27 00:01:24,420 --> 00:01:28,410 It is important enough because I don't want to get it stuck at some point time trying to figure out 28 00:01:28,410 --> 00:01:29,700 what's going on. 29 00:01:29,760 --> 00:01:30,770 Quick pause continue. 30 00:01:30,800 --> 00:01:31,260 Just a minute.