mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
- Normalize pandoc command parsing with path.basename() to support bundled binary paths - Use bundled pandoc binary in convertWithPandoc instead of relying on PATH - Forward includeSubfolders checkbox state from renderer to main process - Add pandoc availability check before batch conversion - Re-enable Start button when batch conversion completes - Clean up obsolete dist build artifact causing test snapshot warning - Bump version to 4.4.4
19 lines
479 B
JavaScript
19 lines
479 B
JavaScript
/**
|
|
* Tests ensuring the codebase has no ESLint warnings.
|
|
*/
|
|
|
|
const { execSync } = require('child_process');
|
|
const path = require('path');
|
|
|
|
describe('ESLint quality gate', () => {
|
|
test('src and tests have no ESLint warnings', () => {
|
|
const rootDir = path.resolve(__dirname, '..');
|
|
const result = execSync('npm run lint', {
|
|
cwd: rootDir,
|
|
encoding: 'utf8',
|
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
});
|
|
expect(result).not.toMatch(/warning/);
|
|
});
|
|
});
|