From 5e15c19ee180052f7f651c1570bb519c31edfb27 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseinzadeh Date: Wed, 30 Mar 2022 16:38:25 +0430 Subject: [PATCH] Rename the test file (and its screenshot files) to match the script under test --- test/{theme-switch.test.js => main.test.js} | 0 ...rsion-of-the-script-should-also-work-1-snap.png} | Bin ...tches-in-this-page-should-be-updated-1-snap.png} | Bin ...-element-it-should-have-default-size-1-snap.png} | Bin ...toggled-others-should-be-toggled-too-1-snap.png} | Bin ...-fine-no-errors-should-be-thrown-etc-1-snap.png} | Bin ...ke-html-the-colors-should-be-applied-1-snap.png} | Bin ...ch-icon-the-colors-should-be-applied-1-snap.png} | Bin ...itch-should-change-the-icon-to-light-1-snap.png} | Bin ...heme-is-auto-the-icon-should-be-auto-1-snap.png} | Bin ...witch-should-change-the-icon-to-auto-1-snap.png} | Bin ...heme-is-dark-the-icon-should-be-moon-1-snap.png} | Bin ...witch-should-change-the-icon-to-moon-1-snap.png} | Bin ...heme-is-light-the-icon-should-be-sun-1-snap.png} | Bin 14 files changed, 0 insertions(+), 0 deletions(-) rename test/{theme-switch.test.js => main.test.js} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-the-minified-version-of-the-script-should-also-work-1-snap.png => main-test-js-screenshot-tests-the-minified-version-of-the-script-should-also-work-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-a-switch-in-another-open-page-is-toggled-switches-in-this-page-should-be-updated-1-snap.png => main-test-js-screenshot-tests-when-a-switch-in-another-open-page-is-toggled-switches-in-this-page-should-be-updated-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-no-size-is-specified-for-the-element-it-should-have-default-size-1-snap.png => main-test-js-screenshot-tests-when-no-size-is-specified-for-the-element-it-should-have-default-size-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-there-are-multiple-instances-of-the-element-in-page-and-one-of-them-is-toggled-others-should-be-toggled-too-1-snap.png => main-test-js-screenshot-tests-when-there-are-multiple-instances-of-the-element-in-page-and-one-of-them-is-toggled-others-should-be-toggled-too-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-there-are-no-instances-of-the-element-in-page-everything-should-be-fine-no-errors-should-be-thrown-etc-1-snap.png => main-test-js-screenshot-tests-when-there-are-no-instances-of-the-element-in-page-everything-should-be-fine-no-errors-should-be-thrown-etc-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-in-a-css-rule-with-low-specificity-like-html-the-colors-should-be-applied-1-snap.png => main-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-in-a-css-rule-with-low-specificity-like-html-the-colors-should-be-applied-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-the-colors-should-be-applied-1-snap.png => main-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-the-colors-should-be-applied-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-auto-clicking-the-switch-should-change-the-icon-to-light-1-snap.png => main-test-js-screenshot-tests-when-user-stored-theme-is-auto-clicking-the-switch-should-change-the-icon-to-light-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-auto-the-icon-should-be-auto-1-snap.png => main-test-js-screenshot-tests-when-user-stored-theme-is-auto-the-icon-should-be-auto-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-dark-clicking-the-switch-should-change-the-icon-to-auto-1-snap.png => main-test-js-screenshot-tests-when-user-stored-theme-is-dark-clicking-the-switch-should-change-the-icon-to-auto-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-dark-the-icon-should-be-moon-1-snap.png => main-test-js-screenshot-tests-when-user-stored-theme-is-dark-the-icon-should-be-moon-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-light-clicking-the-switch-should-change-the-icon-to-moon-1-snap.png => main-test-js-screenshot-tests-when-user-stored-theme-is-light-clicking-the-switch-should-change-the-icon-to-moon-1-snap.png} (100%) rename test/screenshots/{theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-light-the-icon-should-be-sun-1-snap.png => main-test-js-screenshot-tests-when-user-stored-theme-is-light-the-icon-should-be-sun-1-snap.png} (100%) diff --git a/test/theme-switch.test.js b/test/main.test.js similarity index 100% rename from test/theme-switch.test.js rename to test/main.test.js diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-the-minified-version-of-the-script-should-also-work-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-the-minified-version-of-the-script-should-also-work-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-the-minified-version-of-the-script-should-also-work-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-the-minified-version-of-the-script-should-also-work-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-a-switch-in-another-open-page-is-toggled-switches-in-this-page-should-be-updated-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-a-switch-in-another-open-page-is-toggled-switches-in-this-page-should-be-updated-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-a-switch-in-another-open-page-is-toggled-switches-in-this-page-should-be-updated-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-a-switch-in-another-open-page-is-toggled-switches-in-this-page-should-be-updated-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-no-size-is-specified-for-the-element-it-should-have-default-size-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-no-size-is-specified-for-the-element-it-should-have-default-size-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-no-size-is-specified-for-the-element-it-should-have-default-size-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-no-size-is-specified-for-the-element-it-should-have-default-size-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-there-are-multiple-instances-of-the-element-in-page-and-one-of-them-is-toggled-others-should-be-toggled-too-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-there-are-multiple-instances-of-the-element-in-page-and-one-of-them-is-toggled-others-should-be-toggled-too-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-there-are-multiple-instances-of-the-element-in-page-and-one-of-them-is-toggled-others-should-be-toggled-too-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-there-are-multiple-instances-of-the-element-in-page-and-one-of-them-is-toggled-others-should-be-toggled-too-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-there-are-no-instances-of-the-element-in-page-everything-should-be-fine-no-errors-should-be-thrown-etc-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-there-are-no-instances-of-the-element-in-page-everything-should-be-fine-no-errors-should-be-thrown-etc-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-there-are-no-instances-of-the-element-in-page-everything-should-be-fine-no-errors-should-be-thrown-etc-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-there-are-no-instances-of-the-element-in-page-everything-should-be-fine-no-errors-should-be-thrown-etc-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-in-a-css-rule-with-low-specificity-like-html-the-colors-should-be-applied-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-in-a-css-rule-with-low-specificity-like-html-the-colors-should-be-applied-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-in-a-css-rule-with-low-specificity-like-html-the-colors-should-be-applied-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-in-a-css-rule-with-low-specificity-like-html-the-colors-should-be-applied-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-the-colors-should-be-applied-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-the-colors-should-be-applied-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-the-colors-should-be-applied-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-specifies-a-custom-color-for-switch-icon-the-colors-should-be-applied-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-auto-clicking-the-switch-should-change-the-icon-to-light-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-auto-clicking-the-switch-should-change-the-icon-to-light-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-auto-clicking-the-switch-should-change-the-icon-to-light-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-auto-clicking-the-switch-should-change-the-icon-to-light-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-auto-the-icon-should-be-auto-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-auto-the-icon-should-be-auto-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-auto-the-icon-should-be-auto-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-auto-the-icon-should-be-auto-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-dark-clicking-the-switch-should-change-the-icon-to-auto-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-dark-clicking-the-switch-should-change-the-icon-to-auto-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-dark-clicking-the-switch-should-change-the-icon-to-auto-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-dark-clicking-the-switch-should-change-the-icon-to-auto-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-dark-the-icon-should-be-moon-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-dark-the-icon-should-be-moon-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-dark-the-icon-should-be-moon-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-dark-the-icon-should-be-moon-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-light-clicking-the-switch-should-change-the-icon-to-moon-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-light-clicking-the-switch-should-change-the-icon-to-moon-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-light-clicking-the-switch-should-change-the-icon-to-moon-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-light-clicking-the-switch-should-change-the-icon-to-moon-1-snap.png diff --git a/test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-light-the-icon-should-be-sun-1-snap.png b/test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-light-the-icon-should-be-sun-1-snap.png similarity index 100% rename from test/screenshots/theme-switch-test-js-screenshot-tests-when-user-stored-theme-is-light-the-icon-should-be-sun-1-snap.png rename to test/screenshots/main-test-js-screenshot-tests-when-user-stored-theme-is-light-the-icon-should-be-sun-1-snap.png