From a8e54fd11e72c3bfd585a731c3bf20a22d6623f8 Mon Sep 17 00:00:00 2001 From: cesine Date: Tue, 26 Nov 2024 17:44:33 -0500 Subject: [PATCH] Rename tests (#639) * update readme badges * use .test.js file extension --- README.md | 10 +++++----- tests/{Rickshaw.Class.js => Rickshaw.Class.test.js} | 0 ...Color.Palette.js => Rickshaw.Color.Palette.test.js} | 0 ...ures.Number.js => Rickshaw.Fixtures.Number.test.js} | 0 ...e.Local.js => Rickshaw.Fixtures.Time.Local.test.js} | 0 ...Fixtures.Time.js => Rickshaw.Fixtures.Time.test.js} | 0 ...aph.Annotate.js => Rickshaw.Graph.Annotate.test.js} | 0 ...w.Graph.Axis.X.js => Rickshaw.Graph.Axis.X.test.js} | 0 ...w.Graph.Axis.Y.js => Rickshaw.Graph.Axis.Y.test.js} | 0 ...aph.DragZoom.js => Rickshaw.Graph.DragZoom.test.js} | 0 ...verDetail.js => Rickshaw.Graph.HoverDetail.test.js} | 0 ...w.Graph.Legend.js => Rickshaw.Graph.Legend.test.js} | 0 ...w.js => Rickshaw.Graph.RangeSlider.Preview.test.js} | 0 ...ngeSlider.js => Rickshaw.Graph.RangeSlider.test.js} | 0 ....Multi.js => Rickshaw.Graph.Renderer.Multi.test.js} | 0 ....js => Rickshaw.Graph.Renderer.Scatterplot.test.js} | 0 ...aph.Renderer.js => Rickshaw.Graph.Renderer.test.js} | 0 tests/{Rickshaw.Graph.js => Rickshaw.Graph.test.js} | 0 ...ration.js => Rickshaw.Series.FixedDuration.test.js} | 0 tests/{Rickshaw.Series.js => Rickshaw.Series.test.js} | 0 tests/{Rickshaw.js => Rickshaw.test.js} | 0 21 files changed, 5 insertions(+), 5 deletions(-) rename tests/{Rickshaw.Class.js => Rickshaw.Class.test.js} (100%) rename tests/{Rickshaw.Color.Palette.js => Rickshaw.Color.Palette.test.js} (100%) rename tests/{Rickshaw.Fixtures.Number.js => Rickshaw.Fixtures.Number.test.js} (100%) rename tests/{Rickshaw.Fixtures.Time.Local.js => Rickshaw.Fixtures.Time.Local.test.js} (100%) rename tests/{Rickshaw.Fixtures.Time.js => Rickshaw.Fixtures.Time.test.js} (100%) rename tests/{Rickshaw.Graph.Annotate.js => Rickshaw.Graph.Annotate.test.js} (100%) rename tests/{Rickshaw.Graph.Axis.X.js => Rickshaw.Graph.Axis.X.test.js} (100%) rename tests/{Rickshaw.Graph.Axis.Y.js => Rickshaw.Graph.Axis.Y.test.js} (100%) rename tests/{Rickshaw.Graph.DragZoom.js => Rickshaw.Graph.DragZoom.test.js} (100%) rename tests/{Rickshaw.Graph.HoverDetail.js => Rickshaw.Graph.HoverDetail.test.js} (100%) rename tests/{Rickshaw.Graph.Legend.js => Rickshaw.Graph.Legend.test.js} (100%) rename tests/{Rickshaw.Graph.RangeSlider.Preview.js => Rickshaw.Graph.RangeSlider.Preview.test.js} (100%) rename tests/{Rickshaw.Graph.RangeSlider.js => Rickshaw.Graph.RangeSlider.test.js} (100%) rename tests/{Rickshaw.Graph.Renderer.Multi.js => Rickshaw.Graph.Renderer.Multi.test.js} (100%) rename tests/{Rickshaw.Graph.Renderer.Scatterplot.js => Rickshaw.Graph.Renderer.Scatterplot.test.js} (100%) rename tests/{Rickshaw.Graph.Renderer.js => Rickshaw.Graph.Renderer.test.js} (100%) rename tests/{Rickshaw.Graph.js => Rickshaw.Graph.test.js} (100%) rename tests/{Rickshaw.Series.FixedDuration.js => Rickshaw.Series.FixedDuration.test.js} (100%) rename tests/{Rickshaw.Series.js => Rickshaw.Series.test.js} (100%) rename tests/{Rickshaw.js => Rickshaw.test.js} (100%) diff --git a/README.md b/README.md index 593d1c6f..515bfde3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![NPM version][npm-image]][npm-url] -[![Build Status][travis-image]][travis-url] +[![Build Status][github-actions-image]][github-actions-url] [![Coverage Status][coverage-image]][coverage-url] # Rickshaw @@ -267,7 +267,7 @@ This library was developed by David Chester, Douglas Hunter, and Silas Sewell at ## License -Copyright (C) 2011-2020 by Shutterstock Images, LLC +Copyright (C) 2011-2024 by Shutterstock Images, LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -277,7 +277,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI [npm-image]: https://img.shields.io/npm/v/rickshaw.svg?style=flat-square [npm-url]: https://npmjs.org/package/rickshaw -[travis-image]: https://travis-ci.org/shutterstock/rickshaw.svg?branch=master -[travis-url]: https://travis-ci.org/shutterstock/rickshaw -[coverage-image]: https://coveralls.io/repos/github/shutterstock/rickshaw/badge.svg?branch=master +[github-actions-image]: https://github.com/shutterstock/rickshaw/actions/workflows/ci.yaml/badge.svg +[github-actions-url]: https://github.com/shutterstock/rickshaw/actions/workflows/ci.yaml +[coverage-image]: https://coveralls.io/repos/github/shutterstock/rickshaw/badge.svg?branch=main [coverage-url]: https://coveralls.io/github/shutterstock/rickshaw diff --git a/tests/Rickshaw.Class.js b/tests/Rickshaw.Class.test.js similarity index 100% rename from tests/Rickshaw.Class.js rename to tests/Rickshaw.Class.test.js diff --git a/tests/Rickshaw.Color.Palette.js b/tests/Rickshaw.Color.Palette.test.js similarity index 100% rename from tests/Rickshaw.Color.Palette.js rename to tests/Rickshaw.Color.Palette.test.js diff --git a/tests/Rickshaw.Fixtures.Number.js b/tests/Rickshaw.Fixtures.Number.test.js similarity index 100% rename from tests/Rickshaw.Fixtures.Number.js rename to tests/Rickshaw.Fixtures.Number.test.js diff --git a/tests/Rickshaw.Fixtures.Time.Local.js b/tests/Rickshaw.Fixtures.Time.Local.test.js similarity index 100% rename from tests/Rickshaw.Fixtures.Time.Local.js rename to tests/Rickshaw.Fixtures.Time.Local.test.js diff --git a/tests/Rickshaw.Fixtures.Time.js b/tests/Rickshaw.Fixtures.Time.test.js similarity index 100% rename from tests/Rickshaw.Fixtures.Time.js rename to tests/Rickshaw.Fixtures.Time.test.js diff --git a/tests/Rickshaw.Graph.Annotate.js b/tests/Rickshaw.Graph.Annotate.test.js similarity index 100% rename from tests/Rickshaw.Graph.Annotate.js rename to tests/Rickshaw.Graph.Annotate.test.js diff --git a/tests/Rickshaw.Graph.Axis.X.js b/tests/Rickshaw.Graph.Axis.X.test.js similarity index 100% rename from tests/Rickshaw.Graph.Axis.X.js rename to tests/Rickshaw.Graph.Axis.X.test.js diff --git a/tests/Rickshaw.Graph.Axis.Y.js b/tests/Rickshaw.Graph.Axis.Y.test.js similarity index 100% rename from tests/Rickshaw.Graph.Axis.Y.js rename to tests/Rickshaw.Graph.Axis.Y.test.js diff --git a/tests/Rickshaw.Graph.DragZoom.js b/tests/Rickshaw.Graph.DragZoom.test.js similarity index 100% rename from tests/Rickshaw.Graph.DragZoom.js rename to tests/Rickshaw.Graph.DragZoom.test.js diff --git a/tests/Rickshaw.Graph.HoverDetail.js b/tests/Rickshaw.Graph.HoverDetail.test.js similarity index 100% rename from tests/Rickshaw.Graph.HoverDetail.js rename to tests/Rickshaw.Graph.HoverDetail.test.js diff --git a/tests/Rickshaw.Graph.Legend.js b/tests/Rickshaw.Graph.Legend.test.js similarity index 100% rename from tests/Rickshaw.Graph.Legend.js rename to tests/Rickshaw.Graph.Legend.test.js diff --git a/tests/Rickshaw.Graph.RangeSlider.Preview.js b/tests/Rickshaw.Graph.RangeSlider.Preview.test.js similarity index 100% rename from tests/Rickshaw.Graph.RangeSlider.Preview.js rename to tests/Rickshaw.Graph.RangeSlider.Preview.test.js diff --git a/tests/Rickshaw.Graph.RangeSlider.js b/tests/Rickshaw.Graph.RangeSlider.test.js similarity index 100% rename from tests/Rickshaw.Graph.RangeSlider.js rename to tests/Rickshaw.Graph.RangeSlider.test.js diff --git a/tests/Rickshaw.Graph.Renderer.Multi.js b/tests/Rickshaw.Graph.Renderer.Multi.test.js similarity index 100% rename from tests/Rickshaw.Graph.Renderer.Multi.js rename to tests/Rickshaw.Graph.Renderer.Multi.test.js diff --git a/tests/Rickshaw.Graph.Renderer.Scatterplot.js b/tests/Rickshaw.Graph.Renderer.Scatterplot.test.js similarity index 100% rename from tests/Rickshaw.Graph.Renderer.Scatterplot.js rename to tests/Rickshaw.Graph.Renderer.Scatterplot.test.js diff --git a/tests/Rickshaw.Graph.Renderer.js b/tests/Rickshaw.Graph.Renderer.test.js similarity index 100% rename from tests/Rickshaw.Graph.Renderer.js rename to tests/Rickshaw.Graph.Renderer.test.js diff --git a/tests/Rickshaw.Graph.js b/tests/Rickshaw.Graph.test.js similarity index 100% rename from tests/Rickshaw.Graph.js rename to tests/Rickshaw.Graph.test.js diff --git a/tests/Rickshaw.Series.FixedDuration.js b/tests/Rickshaw.Series.FixedDuration.test.js similarity index 100% rename from tests/Rickshaw.Series.FixedDuration.js rename to tests/Rickshaw.Series.FixedDuration.test.js diff --git a/tests/Rickshaw.Series.js b/tests/Rickshaw.Series.test.js similarity index 100% rename from tests/Rickshaw.Series.js rename to tests/Rickshaw.Series.test.js diff --git a/tests/Rickshaw.js b/tests/Rickshaw.test.js similarity index 100% rename from tests/Rickshaw.js rename to tests/Rickshaw.test.js