1
0
mirror of https://github.com/theoludwig/kysely-typegen.git synced 2026-05-22 16:23:25 +02:00

chore: initial commit

This commit is contained in:
2026-05-20 20:40:14 +02:00
commit d9839d01c7
18 changed files with 10076 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import assert from "node:assert/strict"
import { describe, it } from "node:test"
import { fn } from "../index.ts"
describe("index", () => {
it('should return "Hello, tsdown!"', () => {
// Arrange - Given
const input = "tsdown"
// Act - When
const output = fn(input)
// Assert - Then
const expected = "Hello, tsdown!"
assert.strictEqual(output, expected)
})
})
+3
View File
@@ -0,0 +1,3 @@
export const fn = (input: string): string => {
return `Hello, ${input}!`
}