Skip to content

Commit

Permalink
restore describe
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart committed Aug 4, 2023
1 parent d7e2616 commit acbdebe
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@ Results can be verified using either the BDD-style `expect` or TDD-style `assert
```javascript
import { expect } from '@brightspace-ui/testing';

it('should multiply numbers', () => {
expect(2 * 4).to.equal(8);
describe('group of tests', () => {
it('should multiply numbers', () => {
expect(2 * 4).to.equal(8);
});
});
```

```javascript
import { assert } from '@brightspace-ui/testing';

it('should multiply numbers', () => {
assert.equal(2 * 4, 8);
describe('group of tests', () => {
it('should multiply numbers', () => {
assert.equal(2 * 4, 8);
});
});
```

Expand Down

0 comments on commit acbdebe

Please sign in to comment.