Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

fix(test): fix utils.js tests #55

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

ndr-brt
Copy link
Contributor

@ndr-brt ndr-brt commented Oct 13, 2022

what

Fixes utils.js tests

why

CI

notes

  • mocked the storage module to gain better isolation
  • covered the getBanList "ko" result case
  • refactored the method

Ref #56

@confused-Techie
Copy link
Owner

This one looks great to me. Ended up personally not mocking banned list when there was a local only version of storage made that would be exported during tests like this. So with this change that should probably also be accounted for. But this looks great to me, thanks for the contribution!

@confused-Techie
Copy link
Owner

The tests we care about here are passing, so perfect, I'll go ahead and merge.

@confused-Techie confused-Techie merged commit f80aaba into confused-Techie:main Oct 23, 2022
Digitalone1 pushed a commit to Digitalone1/atom-community-server-backend-JS that referenced this pull request Jan 19, 2023
…_and_yarn/prettier-2.8.3

Bump prettier from 2.8.2 to 2.8.3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants