mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
style(sdk): apply prettier with single quotes
Run prettier across sdk/base and sdk/package to apply the standardized quote style (single quotes matching web).
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { getHostname } from "../util/getServiceInterface"
|
||||
import { getHostname } from '../util/getServiceInterface'
|
||||
|
||||
describe("getHostname ", () => {
|
||||
describe('getHostname ', () => {
|
||||
const inputToExpected = [
|
||||
["http://localhost:3000", "localhost"],
|
||||
["http://localhost", "localhost"],
|
||||
["localhost", "localhost"],
|
||||
["http://127.0.0.1/", "127.0.0.1"],
|
||||
["http://127.0.0.1/testing/1234?314345", "127.0.0.1"],
|
||||
["127.0.0.1/", "127.0.0.1"],
|
||||
["http://mail.google.com/", "mail.google.com"],
|
||||
["mail.google.com/", "mail.google.com"],
|
||||
['http://localhost:3000', 'localhost'],
|
||||
['http://localhost', 'localhost'],
|
||||
['localhost', 'localhost'],
|
||||
['http://127.0.0.1/', '127.0.0.1'],
|
||||
['http://127.0.0.1/testing/1234?314345', '127.0.0.1'],
|
||||
['127.0.0.1/', '127.0.0.1'],
|
||||
['http://mail.google.com/', 'mail.google.com'],
|
||||
['mail.google.com/', 'mail.google.com'],
|
||||
]
|
||||
|
||||
for (const [input, expectValue] of inputToExpected) {
|
||||
|
||||
Reference in New Issue
Block a user