1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 09:58:13 +09:00

fix: theme-color

chore: fix margin
chore: update deps
This commit is contained in:
2021-07-30 15:53:42 +09:00
parent ba4949fe7b
commit 4343d0f633
13 changed files with 253 additions and 181 deletions

View File

@@ -2,12 +2,12 @@ import nock from 'nock';
import provider from '../api/services/existence/[query]';
import { mockProvider } from '../util/testHelpers';
test('return false if name is taken', async () => {
it('return false if name is taken', async () => {
const result = await mockProvider(provider, { query: 'github.com/uetchy' });
expect(result).toStrictEqual({ availability: false });
});
test('return true if name is not taken', async () => {
it('return true if name is not taken', async () => {
const result = await mockProvider(provider, {
query: 'github.com/uetchyasdf',
});