Skip to content

Commit

Permalink
chore: Vitest Imports
Browse files Browse the repository at this point in the history
Add import statements from vitest
  • Loading branch information
marcobiedermann committed Nov 8, 2023
1 parent e4d728f commit c9b9853
Show file tree
Hide file tree
Showing 634 changed files with 633 additions and 2 deletions.
1 change: 1 addition & 0 deletions kata/4 kyu/adding-big-numbers/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import add from '.';

describe('add', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import nextBigger from '.';

describe('nextBigger', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/4 kyu/sum-strings-as-numbers/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import sumStrings from '.';

describe('sumStrings', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/calculating-with-functions/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import {
dividedBy,
eight,
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/directions-reduction/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import dirReduc from '.';

describe('dirReduc', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import domainName from '.';

describe('domainName', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/first-non-repeating-character/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import firstNonRepeatingLetter from '.';

describe('firstNonRepeatingLetter', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/human-readable-time/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import humanReadable from '.';

describe('humanReadable', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/is-my-friend-cheating/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import removeNb from '.';

describe('removeNb', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/maximum-subarray-sum/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import maxSequence from '.';

describe('maxSequence', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/memoized-fibonacci/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import fibonacci from '.';

describe('fibonacci', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/moving-zeros-to-the-end/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import moveZeros from '.';

describe('moveZeros', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/not-very-secure/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import alphanumeric from '.';

describe('alphanumeric', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/number-of-trailing-zeros-of-n/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import zeros from '.';

describe('zeros', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/paginationhelper/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import PaginationHelper from '.';

describe('paginationHelper', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import perimeter from '.';

describe('perimeter', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/pete-the-baker/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import cakes from '.';

describe('cakes', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import productFib from '.';

describe('productFib', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/regex-password-validation/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import REGEXP from '.';

describe('regexp', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/rot13-1/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import rot13 from '.';

describe('rot13', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/rot13/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import rot13 from '.';

describe('rot13', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/scramblies/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import scramble from '.';

describe('scramble', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/simple-pig-latin/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import pigIt from '.';

describe('pigIt', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/the-hashtag-generator/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import generateHashtag from '.';

describe('generateHashtag', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/valid-parentheses/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import validParentheses from '.';

describe('validParentheses', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/weight-for-weight/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import orderWeight from '.';

describe('orderWeight', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/5 kyu/where-my-anagrams-at/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import anagrams from '.';

describe('anagrams', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/a-rule-of-divisibility-by-13/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import thirt from '.';

describe('thirt', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/are-they-the-same/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import comp from '.';

describe('comp', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/array-deep-count/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import deepCount from '.';

describe('deepCount', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/array-dot-diff/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable camelcase */

import { describe, expect, it } from 'vitest';
import array_diff from '.';

describe('array_diff', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/array-helpers/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import { average, cube, even, odd, square, sum } from '.';

describe('foo', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/ball-upwards/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import maxBall from '.';

describe('maxBall', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/bit-counting/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import countBits from '.';

describe('countBits', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/bouncing-balls/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import bouncingBall from '.';

describe('bouncingBall', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/break-camelcase/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import solution from '.';

describe('solution', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/build-a-pile-of-cubes/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findNb from '.';

describe('findNb', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/build-tower/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import towerBuilder from '.';

describe('towerBuilder', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/camelcase-method/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import camelCase from '.';

describe('camelCase', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/can-you-keep-a-secret/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import createSecretHolder from '.';

describe('createSecretHolder', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/christmas-tree/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import christmasTree from '.';

describe('christmasTree', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/closures-and-scopes/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import createFunctions from '.';

describe('createFunctions', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/consecutive-strings/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import longestConsec from '.';

describe('longestConsec', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/consonant-value/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import solve from '.';

describe('solve', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/convert-string-to-camel-case/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import toCamelCase from '.';

describe('toCamelCase', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/count-characters-in-your-string/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import count from '.';

describe('count', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/count-the-smiley-faces/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import countSmileys from '.';

describe('countSmileys', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/create-phone-number/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import createPhoneNumber from '.';

describe('createPhoneNumber', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/dashatize-it/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import dashatize from '.';

describe('dashatize', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/data-reverse/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import dataReverse from '.';

describe('dataReverse', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/decipher-this/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import decipherThis from '.';

describe('decipherThis', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/decode-the-morse-code/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import decodeMorse from '.';

describe('decodeMorse', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import deleteNth from '.';

describe('deleteNth', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/detect-pangram/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import isPangram from '.';

describe('isPangram', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/does-my-number-look-big-in-this/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import narcissistic from '.';

describe('narcissistic', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/dont-rely-on-luck/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import guess from '.';

describe('guess', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/dubstep/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import songDecoder from '.';

describe('songDecoder', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/duplicate-encoder/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import duplicateEncode from '.';

describe('duplicateEncode', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/encrypt-this/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import encryptThis from '.';

describe('encryptThis', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/equal-sides-of-an-array/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findEvenIndex from '.';

describe('findEvenIndex', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/extract-file-name/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import FileNameExtractor from '.';

describe('fileNameExtractor', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/fibonacci-tribonacci-and-friends/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import Xbonacci from '.';

describe('xbonacci', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/find-the-missing-letter/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findMissingLetter from '.';

describe('findMissingLetter', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findMissing from '.';

describe('findMissing', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/find-the-odd-int/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findOdd from '.';

describe('findOdd', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/find-the-parity-outlier/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findOutlier from '.';

describe('findOutlier', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/find-the-unique-number-1/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findUniq from '.';

describe('findUniq', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/find-the-unique-number/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import findUnique from '.';

describe('findUnique', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/fold-an-array/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import foldArray from '.';

describe('foldArray', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import list from '.';

describe('list', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/function-composition/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import compose from '.';

describe('compose', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/give-me-a-diamond/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import diamond from '.';

describe('diamond', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/good-vs-evil/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import goodVsEvil from '.';

describe('expect', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/grouped-by-commas/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import groupByCommas from '.';

describe('groupByCommas', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/help-the-bookseller/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import stockList from '.';

describe('stockList', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/highest-scoring-word/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import high from '.';

describe('high', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/ip-validation/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import isValidIP from '.';

describe('isValidIP', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/iq-test/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import iqTest from '.';

describe('iqTest', () => {
Expand Down
1 change: 1 addition & 0 deletions kata/6 kyu/is-a-number-prime/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, expect, it } from 'vitest';
import isPrime from '.';

describe('isPrime', () => {
Expand Down
Loading

0 comments on commit c9b9853

Please sign in to comment.