| 1 |
var _templateObject, _templateObject2; |
| 2 |
var tag = v => v; |
| 3 |
function foo() { |
| 4 |
return tag(_templateObject || (_templateObject = babelHelpers.taggedTemplateLiteral(["some template"]))); |
| 5 |
} |
| 6 |
function bar() { |
| 7 |
return tag(_templateObject2 || (_templateObject2 = babelHelpers.taggedTemplateLiteral(["some template"]))); |
| 8 |
} |
| 9 |
expect(foo()).toBe(foo()); |
| 10 |
expect(foo()).toEqual(["some template"]); |
| 11 |
expect(bar()).toBe(bar()); |
| 12 |
expect(bar()).toEqual(["some template"]); |
| 13 |
expect(bar()).not.toBe(foo()); |