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:
@@ -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',
|
||||
});
|
||||
|
Reference in New Issue
Block a user