UNPKG

quick-specs

Version:

Create test files quickly from .yaml files for Jest or Jasmine.

53 lines (42 loc) 1.3 kB
describe('My first function', () => { describe('Dealing with test data', () => { it('works with large numbers', () => { // Your code goes here... expect(true).toBe(true); }) it('works with small numbers', () => { // Your code goes here... expect(true).toBe(true); }) it('returns undefined when given non-numbers', () => { // Your code goes here... expect(true).toBe(true); }) }) it('Returns a positive number', () => { // Your code goes here... expect(true).toBe(true); }) it('Converts negative numbers to positive', () => { // Your code goes here... expect(true).toBe(true); }) it('Acccepts empty parameter list', () => { // Your code goes here... expect(true).toBe(true); }) }) describe('My second function', () => { it('Returns a positive number', () => { // Your code goes here... expect(true).toBe(true); }) it('Converts negative numbers to positive', () => { // Your code goes here... expect(true).toBe(true); }) it('Acccepts empty parameter list', () => { // Your code goes here... expect(true).toBe(true); }) })