From c23c59d7c52875347571a0a4f349173e1a8f761a Mon Sep 17 00:00:00 2001 From: abose Date: Sat, 4 Nov 2023 20:08:33 +0530 Subject: [PATCH] fix: staging prettier test fail --- .../default/Phoenix-prettier/unittests.js | 48 +++++++++---------- .../css/test-pretty-selection.css | 0 .../prettier-test-files}/css/test-pretty.css | 0 .../spec/prettier-test-files}/css/test.css | 0 .../html/test-pretty-selection-offset.html | 0 .../html/test-pretty-selection.html | 0 .../html/test-pretty-single-space.html | 0 .../html/test-pretty-tabs.txt | 0 .../html/test-pretty.html | 0 .../spec/prettier-test-files}/html/test.html | 0 .../js/test-pretty-selection-offset.js | 0 .../js/test-pretty-selection.js | 0 .../js/test-pretty-single-space.js | 0 .../js/test-pretty-tabs.txt | 0 .../prettier-test-files}/js/test-pretty.js | 0 .../spec/prettier-test-files}/js/test.js | 0 .../prettier-test-files}/test-pretty.json | 0 .../prettier-test-files}/test-pretty.less | 0 .../spec/prettier-test-files}/test-pretty.md | 0 .../spec/prettier-test-files}/test.json | 0 .../spec/prettier-test-files}/test.less | 0 .../spec/prettier-test-files}/test.md | 0 22 files changed, 24 insertions(+), 24 deletions(-) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/css/test-pretty-selection.css (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/css/test-pretty.css (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/css/test.css (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/html/test-pretty-selection-offset.html (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/html/test-pretty-selection.html (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/html/test-pretty-single-space.html (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/html/test-pretty-tabs.txt (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/html/test-pretty.html (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/html/test.html (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/js/test-pretty-selection-offset.js (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/js/test-pretty-selection.js (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/js/test-pretty-single-space.js (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/js/test-pretty-tabs.txt (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/js/test-pretty.js (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/js/test.js (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/test-pretty.json (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/test-pretty.less (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/test-pretty.md (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/test.json (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/test.less (100%) rename {src/extensions/default/Phoenix-prettier/test-files => test/spec/prettier-test-files}/test.md (100%) diff --git a/src/extensions/default/Phoenix-prettier/unittests.js b/src/extensions/default/Phoenix-prettier/unittests.js index ada68db80..0f9c5e3ac 100644 --- a/src/extensions/default/Phoenix-prettier/unittests.js +++ b/src/extensions/default/Phoenix-prettier/unittests.js @@ -33,30 +33,30 @@ define(function (require, exports, module) { require("./main"); - const jsFile = require("text!./test-files/js/test.js"), - jsPrettyFile = require("text!./test-files/js/test-pretty.js"), - jsPrettySelection = require("text!./test-files/js/test-pretty-selection.js"), - jsPrettySelectionOffset = require("text!./test-files/js/test-pretty-selection-offset.js"), - jsPrettySingleSpace = require("text!./test-files/js/test-pretty-single-space.js"), - jsPrettyTabs = require("text!./test-files/js/test-pretty-tabs.txt"); - - const htmlFile = require("text!./test-files/html/test.html"), - htmlPrettyFile = require("text!./test-files/html/test-pretty.html"), - htmlPrettySelection = require("text!./test-files/html/test-pretty-selection.html"), - htmlPrettySelectionOffset = require("text!./test-files/html/test-pretty-selection-offset.html"), - htmlPrettySingleSpace = require("text!./test-files/html/test-pretty-single-space.html"), - htmlPrettyTabs = require("text!./test-files/html/test-pretty-tabs.txt"); - - const cssFile = require("text!./test-files/css/test.css"), - cssPrettyFile = require("text!./test-files/css/test-pretty.css"), - cssPrettySelection = require("text!./test-files/css/test-pretty-selection.css"); - - const mdFile = require("text!./test-files/test.md"), - mdPrettyFile = require("text!./test-files/test-pretty.md"), - lessFile = require("text!./test-files/test.less"), - lessPrettyFile = require("text!./test-files/test-pretty.less"), - jsonFile = require("text!./test-files/test.json"), - jsonPrettyFile = require("text!./test-files/test-pretty.json"); + const jsFile = require("text!../../../../test/spec/prettier-test-files/js/test.js"), + jsPrettyFile = require("text!../../../../test/spec/prettier-test-files/js/test-pretty.js"), + jsPrettySelection = require("text!../../../../test/spec/prettier-test-files/js/test-pretty-selection.js"), + jsPrettySelectionOffset = require("text!../../../../test/spec/prettier-test-files/js/test-pretty-selection-offset.js"), + jsPrettySingleSpace = require("text!../../../../test/spec/prettier-test-files/js/test-pretty-single-space.js"), + jsPrettyTabs = require("text!../../../../test/spec/prettier-test-files/js/test-pretty-tabs.txt"); + + const htmlFile = require("text!../../../../test/spec/prettier-test-files/html/test.html"), + htmlPrettyFile = require("text!../../../../test/spec/prettier-test-files/html/test-pretty.html"), + htmlPrettySelection = require("text!../../../../test/spec/prettier-test-files/html/test-pretty-selection.html"), + htmlPrettySelectionOffset = require("text!../../../../test/spec/prettier-test-files/html/test-pretty-selection-offset.html"), + htmlPrettySingleSpace = require("text!../../../../test/spec/prettier-test-files/html/test-pretty-single-space.html"), + htmlPrettyTabs = require("text!../../../../test/spec/prettier-test-files/html/test-pretty-tabs.txt"); + + const cssFile = require("text!../../../../test/spec/prettier-test-files/css/test.css"), + cssPrettyFile = require("text!../../../../test/spec/prettier-test-files/css/test-pretty.css"), + cssPrettySelection = require("text!../../../../test/spec/prettier-test-files/css/test-pretty-selection.css"); + + const mdFile = require("text!../../../../test/spec/prettier-test-files/test.md"), + mdPrettyFile = require("text!../../../../test/spec/prettier-test-files/test-pretty.md"), + lessFile = require("text!../../../../test/spec/prettier-test-files/test.less"), + lessPrettyFile = require("text!../../../../test/spec/prettier-test-files/test-pretty.less"), + jsonFile = require("text!../../../../test/spec/prettier-test-files/test.json"), + jsonPrettyFile = require("text!../../../../test/spec/prettier-test-files/test-pretty.json"); describe("integration: Phoenix Prettier", function () { let testEditor, testDocument; diff --git a/src/extensions/default/Phoenix-prettier/test-files/css/test-pretty-selection.css b/test/spec/prettier-test-files/css/test-pretty-selection.css similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/css/test-pretty-selection.css rename to test/spec/prettier-test-files/css/test-pretty-selection.css diff --git a/src/extensions/default/Phoenix-prettier/test-files/css/test-pretty.css b/test/spec/prettier-test-files/css/test-pretty.css similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/css/test-pretty.css rename to test/spec/prettier-test-files/css/test-pretty.css diff --git a/src/extensions/default/Phoenix-prettier/test-files/css/test.css b/test/spec/prettier-test-files/css/test.css similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/css/test.css rename to test/spec/prettier-test-files/css/test.css diff --git a/src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-selection-offset.html b/test/spec/prettier-test-files/html/test-pretty-selection-offset.html similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-selection-offset.html rename to test/spec/prettier-test-files/html/test-pretty-selection-offset.html diff --git a/src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-selection.html b/test/spec/prettier-test-files/html/test-pretty-selection.html similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-selection.html rename to test/spec/prettier-test-files/html/test-pretty-selection.html diff --git a/src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-single-space.html b/test/spec/prettier-test-files/html/test-pretty-single-space.html similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-single-space.html rename to test/spec/prettier-test-files/html/test-pretty-single-space.html diff --git a/src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-tabs.txt b/test/spec/prettier-test-files/html/test-pretty-tabs.txt similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/html/test-pretty-tabs.txt rename to test/spec/prettier-test-files/html/test-pretty-tabs.txt diff --git a/src/extensions/default/Phoenix-prettier/test-files/html/test-pretty.html b/test/spec/prettier-test-files/html/test-pretty.html similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/html/test-pretty.html rename to test/spec/prettier-test-files/html/test-pretty.html diff --git a/src/extensions/default/Phoenix-prettier/test-files/html/test.html b/test/spec/prettier-test-files/html/test.html similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/html/test.html rename to test/spec/prettier-test-files/html/test.html diff --git a/src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-selection-offset.js b/test/spec/prettier-test-files/js/test-pretty-selection-offset.js similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-selection-offset.js rename to test/spec/prettier-test-files/js/test-pretty-selection-offset.js diff --git a/src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-selection.js b/test/spec/prettier-test-files/js/test-pretty-selection.js similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-selection.js rename to test/spec/prettier-test-files/js/test-pretty-selection.js diff --git a/src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-single-space.js b/test/spec/prettier-test-files/js/test-pretty-single-space.js similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-single-space.js rename to test/spec/prettier-test-files/js/test-pretty-single-space.js diff --git a/src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-tabs.txt b/test/spec/prettier-test-files/js/test-pretty-tabs.txt similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/js/test-pretty-tabs.txt rename to test/spec/prettier-test-files/js/test-pretty-tabs.txt diff --git a/src/extensions/default/Phoenix-prettier/test-files/js/test-pretty.js b/test/spec/prettier-test-files/js/test-pretty.js similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/js/test-pretty.js rename to test/spec/prettier-test-files/js/test-pretty.js diff --git a/src/extensions/default/Phoenix-prettier/test-files/js/test.js b/test/spec/prettier-test-files/js/test.js similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/js/test.js rename to test/spec/prettier-test-files/js/test.js diff --git a/src/extensions/default/Phoenix-prettier/test-files/test-pretty.json b/test/spec/prettier-test-files/test-pretty.json similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/test-pretty.json rename to test/spec/prettier-test-files/test-pretty.json diff --git a/src/extensions/default/Phoenix-prettier/test-files/test-pretty.less b/test/spec/prettier-test-files/test-pretty.less similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/test-pretty.less rename to test/spec/prettier-test-files/test-pretty.less diff --git a/src/extensions/default/Phoenix-prettier/test-files/test-pretty.md b/test/spec/prettier-test-files/test-pretty.md similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/test-pretty.md rename to test/spec/prettier-test-files/test-pretty.md diff --git a/src/extensions/default/Phoenix-prettier/test-files/test.json b/test/spec/prettier-test-files/test.json similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/test.json rename to test/spec/prettier-test-files/test.json diff --git a/src/extensions/default/Phoenix-prettier/test-files/test.less b/test/spec/prettier-test-files/test.less similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/test.less rename to test/spec/prettier-test-files/test.less diff --git a/src/extensions/default/Phoenix-prettier/test-files/test.md b/test/spec/prettier-test-files/test.md similarity index 100% rename from src/extensions/default/Phoenix-prettier/test-files/test.md rename to test/spec/prettier-test-files/test.md