Skip to content

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

TypeScript
280 B
Raw Blame
const assert = require('node:assert');
const { formatPrice } = require('./src/format-price');

assert.strictEqual(formatPrice(1250), '$12.50');
assert.strictEqual(formatPrice(1005), '$10.05');
assert.strictEqual(formatPrice(999), '$9.99');

console.log('all price tests passed');