feat: remove unused example components and related tests
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { utilsExample } from '@repo/utils';
|
||||
import React, { useState } from 'react';
|
||||
|
||||
export const Counter: React.FC = () => {
|
||||
@@ -6,10 +5,6 @@ export const Counter: React.FC = () => {
|
||||
|
||||
return (
|
||||
<div className="py-4">
|
||||
<div>
|
||||
<div>test helper</div>
|
||||
<div>{utilsExample()}</div>
|
||||
</div>
|
||||
<div className="text-2xl font-semibold">tailwind on package UI</div>
|
||||
<div className="bg-red-400 text-3xl font-bold underline">100</div>
|
||||
<div className="mt-3 bg-brand-500 text-brand-800">sdsa</div>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
export const add = (a: number, b: number) => a + b;
|
||||
@@ -1 +0,0 @@
|
||||
export const subtract = (a: number, b: number) => a - b;
|
||||
@@ -1,11 +0,0 @@
|
||||
import { expect, test } from 'vitest';
|
||||
import { add } from './add';
|
||||
import { subtract } from './subtract';
|
||||
|
||||
test('adds 1 + 2 to equal 3', () => {
|
||||
expect(add(1, 2)).toBe(3);
|
||||
});
|
||||
|
||||
test('subtracts 2 - 1 to equal 1', () => {
|
||||
expect(subtract(2, 1)).toBe(1);
|
||||
});
|
||||
Reference in New Issue
Block a user