UNPKG

archunit

Version:

ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app

14 lines 545 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); require("../../../index"); const files_1 = require("../../../src/files"); describe('Integration test', () => { it('checks the created messages', async () => { const rule = (0, files_1.projectFiles)(__dirname + '/samples/filenamingsample/tsconfig.json') .inFolder('src/services/**') .should() .haveName(/.*Service.*\.ts/); await expect(rule).toPassAsync(); }); }); //# sourceMappingURL=integration.spec.js.map