packages/babel-plugin-transform-template-literals/test/fixtures/default/cache-revision/input.js
raw symbols SCIP| 1 | var tag = v => v; |
| 2 | |
| 3 | function foo() { |
| 4 | return tag`some template`; |
| 5 | } |
| 6 | function bar() { |
| 7 | return tag`some template`; |
| 8 | } |
| 9 | expect(foo()).toBe(foo()); |
| 10 | expect(foo()).toEqual(["some template"]); |
| 11 | |
| 12 | expect(bar()).toBe(bar()); |
| 13 | expect(bar()).toEqual(["some template"]); |
| 14 | |
| 15 | expect(bar()).not.toBe(foo()); |