mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
27 lines
689 B
TypeScript
27 lines
689 B
TypeScript
/**
|
|
* The contents of this file are subject to the license and copyright
|
|
* detailed in the LICENSE and NOTICE files at the root of the source
|
|
* tree and available online at
|
|
*
|
|
* http://www.dspace.org/license/
|
|
*/
|
|
|
|
import { default as htmlPlugin } from '../src/rules/html';
|
|
import { default as tsPlugin } from '../src/rules/ts';
|
|
import {
|
|
htmlRuleTester,
|
|
tsRuleTester,
|
|
} from './testing';
|
|
|
|
describe('TypeScript rules', () => {
|
|
for (const { info, rule, tests } of tsPlugin.index) {
|
|
tsRuleTester.run(info.name, rule, tests);
|
|
}
|
|
});
|
|
|
|
describe('HTML rules', () => {
|
|
for (const { info, rule, tests } of htmlPlugin.index) {
|
|
htmlRuleTester.run(info.name, rule, tests);
|
|
}
|
|
});
|