prettier/tests/empty_paren_comment/__snapshots__/jsfmt.spec.js.snap

81 lines
1.6 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`class.js 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 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);
`;