PHP Classes

File: tests/e2e/unit/example.test.ts

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   tests/e2e/unit/example.test.ts   Download  
File: tests/e2e/unit/example.test.ts
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 313 bytes
 

Contents

Class file image Download
describe('Example Unit Test-case', () => { function testSumFunction(a: number, b: number) { return a + b; } it('should equal 4', () => { expect(testSumFunction(2, 2)).toBe(4); }); test('also should equal 4', () => { expect(testSumFunction(2, 2)).toBe(4); }); });