/* eslint-env jest */ import { turnCost } from '../pricing'; describe('the price of an answer', () => { it('is said beside the composer, for the mode picked', () => { expect(turnCost('fast')).toBe('15 credits an answer'); expect(turnCost('deep')).toBe('30 credits an answer'); }); });