Loading files
import 'package:test/test.dart';
import 'package:lw_wot/utils.dart';
void main() {
group('timestamp', () {
test('returns ISO8601 string with +00:00', () {
final ts = timestamp();
expect(ts, contains('+00:00'));
expect(DateTime.tryParse(ts.replaceAll('+00:00', 'Z')), isNotNull);
});
});
}
8c2908ee5This file is pinned to the selected release. Download the original to open it in your design tool.