summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/utils/tests/__snapshots__/function.spec.js.snap
blob: 8d83a48d3bfd795c6baaae4476e02d2e1fee58e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`function findFunctionText finds class function 1`] = `
"bar() {
 2 + 2;
}"
`;

exports[`function findFunctionText finds function 1`] = `
"async function exSlowFoo() {
 return \\"yay in a bit\\";
}"
`;

exports[`function findFunctionText finds function signature 1`] = `
"async function exSlowFoo() {
 return \\"yay in a bit\\";
}"
`;

exports[`function findFunctionText finds property function 1`] = `
"function name() {
 2 + 2;
}"
`;