File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11const { layersLib } = require ( "../../utils" ) ;
22
3- const FS_SEGMENTS_REG = layersLib . FS_SEGMENTS . join ( "|" ) ;
43const FS_SLICED_LAYERS_REG = layersLib . getUpperLayers ( "shared" ) . join ( "|" ) ;
4+ const FS_SEGMENTS_REG = [
5+ ...layersLib . FS_SEGMENTS ,
6+ ...layersLib . FS_SEGMENTS . map ( ( seg ) => `${ seg } .*` ) ,
7+ ] . join ( '|' ) ;
58
69module . exports = {
710 plugins : [ "import" ] ,
Original file line number Diff line number Diff line change @@ -20,9 +20,10 @@ describe("PublicAPI import boundaries:", () => {
2020 import { saveOrder } from "entities/order/model/actions";
2121 import { orderModel } from "entities/order/model";
2222 import { TicketCard } from "@app/entities/ticket/ui";
23+ import { Ticket } from "@app/entities/ticket/ui.tsx";
2324 ` ,
2425 { filePath : "src/app/ui/index.js" } ) ;
25- assert . strictEqual ( report [ 0 ] . errorCount , 7 ) ;
26+ assert . strictEqual ( report [ 0 ] . errorCount , 8 ) ;
2627 } ) ;
2728
2829 it ( "Should lint PublicAPI boundaries without errors." , async ( ) => {
You can’t perform that action at this time.
0 commit comments