Skip to content

Commit 066cc1d

Browse files
committed
test: group test suites
1 parent 716bb3a commit 066cc1d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
const assert = require('assert');
22
const isArrayBuffer = require('./');
33

4-
it('should return true if it is an ArrayBuffer', () => {
5-
assert(isArrayBuffer(new ArrayBuffer()));
6-
});
4+
describe('is-array-buffer', () => {
5+
it('should return true if it is an ArrayBuffer', () => {
6+
assert(isArrayBuffer(new ArrayBuffer()));
7+
});
78

8-
it('should return false if it is not an ArrayBuffer', () => {
9-
assert(!isArrayBuffer([]));
9+
it('should return false if it is not an ArrayBuffer', () => {
10+
assert(!isArrayBuffer([]));
11+
});
1012
});

0 commit comments

Comments
 (0)