feat: remove unused example components and related tests

This commit is contained in:
Firman Ramdhani
2026-01-19 10:35:39 +07:00
parent a3758c9f3a
commit 309dcb48fe
10 changed files with 0 additions and 559 deletions
-5
View File
@@ -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);
});