diff --git a/components/collections/import-export-collections.vue b/components/collections/import-export-collections.vue
index 4b4100d83..dbba1f8f2 100644
--- a/components/collections/import-export-collections.vue
+++ b/components/collections/import-export-collections.vue
@@ -323,7 +323,10 @@ export default {
return Object.prototype.hasOwnProperty.call(item, "item")
},
isSubFolder(item) {
- return Object.prototype.hasOwnProperty.call(item, "_postman_isSubFolder") && item._postman_isSubFolder
+ return (
+ Object.prototype.hasOwnProperty.call(item, "_postman_isSubFolder") &&
+ item._postman_isSubFolder
+ )
},
flattenPostmanItem(subFolder, subFolderGlue = " -- ") {
delete subFolder._postman_isSubFolder
diff --git a/components/realtime/socketio.vue b/components/realtime/socketio.vue
index 2d0239645..a012bc0e7 100644
--- a/components/realtime/socketio.vue
+++ b/components/realtime/socketio.vue
@@ -14,14 +14,10 @@
/>
-
-
-
-
+
+
+
+
@@ -125,11 +121,11 @@ export default {
]
try {
- if(!this.path){
- this.path = '/socket.io'
+ if (!this.path) {
+ this.path = "/socket.io"
}
- this.io = new io(this.url,{
- path: this.path
+ this.io = new io(this.url, {
+ path: this.path,
})
// Add ability to listen to all events
wildcard(io.Manager)(this.io)
diff --git a/components/ui/__tests__/autocomplete.spec.js b/components/ui/__tests__/autocomplete.spec.js
index 40463bf4e..663b8c35e 100644
--- a/components/ui/__tests__/autocomplete.spec.js
+++ b/components/ui/__tests__/autocomplete.spec.js
@@ -89,7 +89,7 @@ describe("autocomplete", () => {
await selectedSuggestion.trigger("click")
await wrapper.vm.$nextTick()
- expect(input.element.value).toEqual("b" + selectedText)
+ expect(input.element.value).toEqual(`b${selectedText}`)
})
test("hide selection on pressing ESC", async () => {
@@ -255,7 +255,7 @@ describe("autocomplete", () => {
})
await wrapper.vm.$nextTick()
- expect(input.element.value).toEqual("a" + selectedSuggestion)
+ expect(input.element.value).toEqual(`a${selectedSuggestion}`)
})
test("pressing tab when nothing is selected selects the first suggestion", async () => {
@@ -272,7 +272,7 @@ describe("autocomplete", () => {
})
await wrapper.vm.$nextTick()
- expect(input.element.value).toEqual("a" + firstSuggestionText)
+ expect(input.element.value).toEqual(`a${firstSuggestionText}`)
})
test("pressing any non-special key doesn't do anything", async () => {
@@ -294,6 +294,6 @@ describe("autocomplete", () => {
})
await wrapper.vm.$nextTick()
- expect(input.element.value).toEqual("a" + selectedSuggestion)
+ expect(input.element.value).toEqual(`a${selectedSuggestion}`)
})
})
diff --git a/components/ui/url-field.vue b/components/ui/url-field.vue
index 204d6dbee..403bf41d0 100644
--- a/components/ui/url-field.vue
+++ b/components/ui/url-field.vue
@@ -1,20 +1,24 @@
+
+