()
| 56 | it("preserves source fields, aliases, joins and filters in every schema and initialization", async () => { |
| 57 | const reg = new abaplint.Registry().addFiles(viewFiles().map(f => new abaplint.MemoryFile(f.filename, f.contents))); |
| 58 | const res = await new Transpiler({}, plugin).run(reg); |
| 59 | const expected = 'CREATE VIEW "zddls" AS SELECT "item"."mandt" AS "purchasingdocument", ' + |
| 60 | '"header"."cccategory" AS "headercategory", "text"."cccategory" AS "language", ' + |
| 61 | '"change"."cccategory" AS "changestatus" FROM "t000" AS "item" ' + |
| 62 | 'INNER JOIN "t001" AS "header" ON "item"."mandt" = "header"."mandt" ' + |
| 63 | 'LEFT OUTER JOIN "t002" AS "text" ON "header"."mandt" = "text"."mandt" ' + |
nothing calls this directly
no outgoing calls
no test coverage detected