saseungmin / Recoil_ToDo

Todo📆 application created using Recoil and React ⚛️
https://saseungmin.github.io/Recoil_ToDo/
MIT License
20 stars 1 forks source link

[Refactoring] login and register Input onChange and onSubmit #42

Closed saseungmin closed 3 years ago

saseungmin commented 3 years ago
codecov[bot] commented 3 years ago

Codecov Report

Merging #42 (b1cc656) into main (9d966fe) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        33    -1     
  Lines          293       288    -5     
  Branches        41        44    +3     
=========================================
- Hits           293       288    -5     
Impacted Files Coverage Δ
src/recoil/auth/atom.js 100.00% <ø> (ø)
src/components/auth/AuthInput.jsx 100.00% <100.00%> (ø)
src/components/auth/AuthModalForm.jsx 100.00% <100.00%> (ø)
src/components/common/InjectTestingRecoilState.jsx 100.00% <100.00%> (ø)
src/utils/constants/constants.js 100.00% <100.00%> (ø)
src/utils/utils.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9d966fe...b1cc656. Read the comment docs.

saseungmin commented 3 years ago
await act(async () => {
    input.forEach(async ({ placeholder, value }) => {
        await fireEvent.change(getByPlaceholderText(placeholder), { target: { value } });
    });
});