chardet/src/encoding/ascii.test.ts

10 lines
211 B
TypeScript
Raw Normal View History

2023-06-16 23:52:53 +00:00
import * as chardet from '..';
describe('ASCII', () => {
it('should return ASCII', () => {
expect(
chardet.detectFileSync(__dirname + '/../test/data/encodings/ascii')
).toBe('ASCII');
});
});