mirror of
https://github.com/morluto/rea
synced 2026-10-28 15:07:26 -04:00
test(javascript): consolidate source analysis and export regressions
This commit is contained in:
@@ -155,19 +155,6 @@ describe("JavaScript semantic analysis: calls 2", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("retains every promise operation found in the finite source", () => {
|
||||
const ir = analyzeJavaScriptSemantics(
|
||||
`
|
||||
Promise.resolve(1);
|
||||
Promise.resolve(2);
|
||||
Promise.resolve(3);
|
||||
`,
|
||||
);
|
||||
|
||||
expect(ir.promiseOperations).toHaveLength(3);
|
||||
expect(ir.coverage.status).toBe("complete");
|
||||
});
|
||||
|
||||
it("fingerprints formatting and local-name changes identically", () => {
|
||||
const left = analyzeJavaScriptSemantics(`
|
||||
function calculate(value) {
|
||||
|
||||
Reference in New Issue
Block a user