81 lines
1.7 KiB
Plaintext
81 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`class.js - flow-verify 1`] = `
|
|
class x {
|
|
/**
|
|
* Set of default settings to be applied to model fetch calls in DAO layer.
|
|
*/
|
|
static get defaultSettings() {
|
|
}
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
class x {
|
|
/**
|
|
* Set of default settings to be applied to model fetch calls in DAO layer.
|
|
*/
|
|
static get defaultSettings() {}
|
|
}
|
|
|
|
`;
|
|
|
|
exports[`empty_paren_comment.js - flow-verify 1`] = `
|
|
let f = (/* ... */) => {}
|
|
(function (/* ... */) {})(/* ... */)
|
|
function f(/* ... */) {}
|
|
|
|
const obj = {
|
|
f(/* ... */) {},
|
|
f: (/* ... */) => {},
|
|
f: function(/* ... */) {},
|
|
f: function f(/* ... */) {}
|
|
}
|
|
|
|
class Foo {
|
|
f(/* ... */) {}
|
|
f() /* ... */ {}
|
|
f = (/* ... */) => {};
|
|
static f(/* ... */) {};
|
|
static f = (/* ... */) => {};
|
|
static f = function(/* ... */) {};
|
|
static f = function f(/* ... */) {};
|
|
}
|
|
|
|
f(/* ... */);
|
|
f(a, /* ... */);
|
|
f(a, /* ... */ b);
|
|
f(/* ... */ a, b);
|
|
|
|
let f = () => import(a /* ... */);
|
|
let f = () => doThing(a, /* ... */ b);
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
let f = (/* ... */) => {};
|
|
(function(/* ... */) {})(/* ... */);
|
|
function f(/* ... */) {}
|
|
|
|
const obj = {
|
|
f(/* ... */) {},
|
|
f: (/* ... */) => {},
|
|
f: function(/* ... */) {},
|
|
f: function f(/* ... */) {}
|
|
};
|
|
|
|
class Foo {
|
|
f(/* ... */) {}
|
|
f() /* ... */ {}
|
|
f = (/* ... */) => {};
|
|
static f(/* ... */) {}
|
|
static f = (/* ... */) => {};
|
|
static f = function(/* ... */) {};
|
|
static f = function f(/* ... */) {};
|
|
}
|
|
|
|
f(/* ... */);
|
|
f(a /* ... */);
|
|
f(a, /* ... */ b);
|
|
f(/* ... */ a, b);
|
|
|
|
let f = () => import(a /* ... */);
|
|
let f = () => doThing(a, /* ... */ b);
|
|
|
|
`;
|