We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 716bb3a commit 066cc1dCopy full SHA for 066cc1d
test.js
@@ -1,10 +1,12 @@
1
const assert = require('assert');
2
const isArrayBuffer = require('./');
3
4
-it('should return true if it is an ArrayBuffer', () => {
5
- assert(isArrayBuffer(new ArrayBuffer()));
6
-});
+describe('is-array-buffer', () => {
+ it('should return true if it is an ArrayBuffer', () => {
+ assert(isArrayBuffer(new ArrayBuffer()));
7
+ });
8
-it('should return false if it is not an ArrayBuffer', () => {
9
- assert(!isArrayBuffer([]));
+ it('should return false if it is not an ArrayBuffer', () => {
10
+ assert(!isArrayBuffer([]));
11
12
});
0 commit comments