Skip to content

Commit

Permalink
Tests WIP 4
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Dec 17, 2023
1 parent 76f6a63 commit 7077a3f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/with.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,9 @@ describe('with statements', () => {
in() {
const obj = {x: 123},
x = 456;
let fn;
with (obj) {
fn = (0, () => x);
return [() => x, obj];
}
return [fn, obj];
},
out: `(()=>{
const a={x:123};
Expand All @@ -278,11 +276,9 @@ describe('with statements', () => {
in() {
const obj = {x: 123},
x = 456;
let fn;
with (obj) {
fn = (0, () => x);
return [() => x, obj];
}
return [fn, obj];
},
out: `(()=>{
const a={x:123};
Expand Down

0 comments on commit 7077a3f

Please sign in to comment.