Merge pull request #1 from redimpulz/fix_yarn_to_npm #3
Annotations
4 errors
__tests__/script.test.ts > DOM操作の問題 > リンクが正しく追加されている:
__tests__/script.test.ts#L19
AssertionError: expected '' to deeply equal 'REDIMPULZ'
- Expected
+ Received
- REDIMPULZ
❯ __tests__/script.test.ts:19:28
|
__tests__/script.test.ts > DOM操作の問題 > section要素の下に指定の要素が追加されている:
__tests__/script.test.ts#L26
Error: expect(element).toContainHTML()
Expected:
<p class="highlight">We hope you enjoy JavaScript.</p>
Received:
<section
data-testid="section"
>··········
<div
data-testid="temp"
id="temp"
>
temp content
</div>········
</section>
❯ __tests__/script.test.ts:26:21
|
__tests__/script.test.ts > DOM操作の問題 > IDがtempの要素が削除されている:
__tests__/script.test.ts#L33
AssertionError: expected <div data-testid="temp" id="temp"></div> to deeply equal null
- Expected:
null
+ Received:
<div
data-testid="temp"
id="temp"
>
temp content
</div>
❯ __tests__/script.test.ts:33:42
|
Build and Test
Process completed with exit code 1.
|