UNPKG

ianalyzer-test-app

Version:

A versatile code analysis tool for JavaScript, HTML, CSS, Angular, React, Vue, and ES6. iAnalyzer ensures code quality through linting, integrates with Sonar for in-depth analysis, performs npm package security checks, assesses performance, and enhances a

19 lines (15 loc) 630 B
const cssLinter = require('../bin/css-linter-config'); const utils = require('../bin/utils'); jest.mock('../bin/utils'); describe('CSS Linter Test', () => { test('should install css linter', async () => { utils.installPackages.mockResolvedValue(true); let response = await cssLinter.configureCssLinter('init'); expect(response).toBeTruthy(); }); test('should uninstall css linter', async () => { utils.uninstallPackages.mockResolvedValue(true); let response = await cssLinter.configureCssLinter('remove'); expect(response).toBeTruthy(); }); });