[READ-ONLY] Mirror of https://github.com/danielroe/ripple-framework. Ripple is the presentation layer for building websites on the DPC Single Digital Presence platform.
323 B
14 lines
1import { expect, describe } from '@jest/globals'
2const reflect = (param: number) => param
3
4describe('Functional test', () => {
5 const t = reflect(2)
6
7 it('should return a number type', () => {
8 expect(typeof t).toBe('number')
9 })
10
11 it('should return the value passed to it', () => {
12 expect(t).toEqual(2)
13 })
14})