Skip to content

Commit 1d7a43c

Browse files
authored
test: remove duplicate test
Signed-off-by: Athan <[email protected]>
1 parent dbe212c commit 1d7a43c

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/node_modules/@stdlib/dstructs/named-typed-tuple/test/test.to_json.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,3 @@ tape( 'the method serializes a tuple as JSON', function test( t ) {
104104
t.deepEqual( actual, expected, 'returns expected value' );
105105
t.end();
106106
});
107-
108-
tape( 'the method serializes a tuple with multiple fields as JSON', function test( t ) {
109-
var expected;
110-
var actual;
111-
var Point;
112-
var p;
113-
114-
Point = namedtypedtuple( [ 'price', 'quantity' ] );
115-
p = new Point( [ 123456.789, 9876 ] );
116-
117-
expected = {
118-
'price': 123456.789,
119-
'quantity': 9876
120-
};
121-
actual = p.toJSON();
122-
123-
t.deepEqual( actual, expected, 'returns expected value' );
124-
t.end();
125-
});

0 commit comments

Comments
 (0)