42 lines
1.6 KiB
JavaScript
42 lines
1.6 KiB
JavaScript
const long = `long ${a//comment
|
|
.b} long longlong ${a.b.c.d.e} long longlong ${a.b.c.d.e} long longlong ${a.b.c.d.e} long long`;
|
|
const long = `long ${a.b.c.d.e} long longlong ${loooooooooooooooooong} long longlong ${loooooooooooooooooong} long longlong ${loooooooooooooooooong} long long`;
|
|
|
|
const long = `long long long long long long long long long long long ${a.b.c.d.e} long long long long long long long long long long long long long`;
|
|
|
|
const description =
|
|
`The value of the ${cssName} css of the ${this._name} element`;
|
|
|
|
const foo = `such a long template string ${foo.bar.baz} that prettier will want to wrap it`;
|
|
|
|
|
|
x = `mdl-textfield mdl-js-textfield ${className} ${content.length > 0
|
|
? 'is-dirty'
|
|
: ''} combo-box__input`
|
|
|
|
function testing() {
|
|
const p = {};
|
|
// faking some tabs since I can't paste my real code in
|
|
if(true) {
|
|
if(false) {
|
|
return `${process.env.OPENID_URL}/something/something/something?${Object.keys(p)
|
|
.map(k => `${encodeURIComponent(k)}=${encodeURIComponent(p[k])}`)
|
|
.join("&")}`;
|
|
}
|
|
}
|
|
}
|
|
|
|
console.log(
|
|
`Trying update appcast for ${app.name} (${app.cask.appcast}) -> (${app.cask.appcastGenerated})`
|
|
)
|
|
|
|
console.log(`brew cask audit --download ${_.map(definitions, 'caskName').join(' ')}`)
|
|
|
|
console.log(`\nApparently jetbrains changed the release artifact for ${app.name}@${app.jetbrains.version}.\n`);
|
|
|
|
descirbe('something', () => {
|
|
test(`{pass: false} expect(${small}).toBeGreaterThanOrEqual(${big})`, () => {});
|
|
})
|
|
|
|
throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`,)
|