10 lines
211 B
TypeScript
10 lines
211 B
TypeScript
|
import * as chardet from '..';
|
||
|
|
||
|
describe('ASCII', () => {
|
||
|
it('should return ASCII', () => {
|
||
|
expect(
|
||
|
chardet.detectFileSync(__dirname + '/../test/data/encodings/ascii')
|
||
|
).toBe('ASCII');
|
||
|
});
|
||
|
});
|