Skip to content

Commit 9da72fd

Browse files
committed
test: add property test
1 parent 5bfaca0 commit 9da72fd

File tree

1 file changed

+5
-0
lines changed
  • lib/node_modules/@stdlib/slice/ctor/test

1 file changed

+5
-0
lines changed

lib/node_modules/@stdlib/slice/ctor/test/test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,11 @@ tape( 'the function does not require the `new` keyword', function test( t ) {
229229
t.end();
230230
});
231231

232+
tape( 'attached to the constructor is a `name` property', function test( t ) {
233+
t.strictEqual( Slice.name, 'Slice', 'returns expected value' );
234+
t.end();
235+
});
236+
232237
tape( 'the constructor throws an error if provided a first argument which is neither an integer, null, nor undefined (nargs=1,new)', function test( t ) {
233238
var values;
234239
var i;

0 commit comments

Comments
 (0)