Skip to content

Commit 95fdf7f

Browse files
authored
test: remove tests
Signed-off-by: Athan <[email protected]>
1 parent 0fde4ab commit 95fdf7f

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

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

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -131,40 +131,6 @@ tape( 'the method serializes a tuple as a locale-specific string (locale and opt
131131
t.end();
132132
});
133133

134-
tape( 'the method handles null and undefined values', function test( t ) {
135-
var expected;
136-
var actual;
137-
var Data;
138-
var d;
139-
140-
Data = namedtypetuple( [ 'value', 'notes', 'status' ] );
141-
d = new Data( [ 1000, null, void 0 ] );
142-
143-
expected = 'tuple(value=' + (1000).toLocaleString() + ', notes=0, status=NaN)';
144-
actual = d.toLocaleString();
145-
146-
t.strictEqual( actual, expected, 'returns expected string with null and undefined' );
147-
t.end();
148-
});
149-
150-
tape( 'the method serializes a tuple containing a Date object', function test( t ) {
151-
var expected;
152-
var actual;
153-
var Event;
154-
var date;
155-
var e;
156-
157-
Event = namedtypetuple( [ 'id', 'timestamp' ] );
158-
date = new Date( '2025-09-02T18:30:00.000Z' );
159-
e = new Event( [ 123, date ] );
160-
161-
expected = 'tuple(id=' + (123).toLocaleString() + ', timestamp=' + date.getTime().toLocaleString() + ')';
162-
actual = e.toLocaleString();
163-
164-
t.strictEqual( actual, expected, 'calls toLocaleString on the Date object' );
165-
t.end();
166-
});
167-
168134
tape( 'the method handles boolean and NaN values', function test( t ) {
169135
var expected;
170136
var Record;

0 commit comments

Comments
 (0)