Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2c459c4

Browse files
committed
Move utility tests to the right place
1 parent 374f514 commit 2c459c4

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

test/Singleflight-test.ts renamed to test/utils/Singleflight-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {Singleflight} from "../src/utils/Singleflight";
17+
import {Singleflight} from "../../src/utils/Singleflight";
1818

1919
describe('Singleflight', () => {
2020
afterEach(() => {

test/arrays-test.ts renamed to test/utils/arrays-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import {
2525
arrayUnion,
2626
ArrayUtil,
2727
GroupedArray,
28-
} from "../src/utils/arrays";
29-
import {objectFromEntries} from "../src/utils/objects";
28+
} from "../../src/utils/arrays";
29+
import {objectFromEntries} from "../../src/utils/objects";
3030

3131
function expectSample(i: number, input: number[], expected: number[]) {
3232
console.log(`Resample case index: ${i}`); // for debugging test failures

test/enums-test.ts renamed to test/utils/enums-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {getEnumValues, isEnumValue} from "../src/utils/enums";
17+
import {getEnumValues, isEnumValue} from "../../src/utils/enums";
1818

1919
enum TestStringEnum {
2020
First = "__first__",

test/iterables-test.ts renamed to test/utils/iterables-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {iterableDiff, iterableUnion} from "../src/utils/iterables";
17+
import {iterableDiff, iterableUnion} from "../../src/utils/iterables";
1818

1919
describe('iterables', () => {
2020
describe('iterableUnion', () => {

test/maps-test.ts renamed to test/utils/maps-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {EnhancedMap, mapDiff, mapKeyChanges} from "../src/utils/maps";
17+
import {EnhancedMap, mapDiff, mapKeyChanges} from "../../src/utils/maps";
1818

1919
describe('maps', () => {
2020
describe('mapDiff', () => {

test/numbers-test.ts renamed to test/utils/numbers-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {clamp, defaultNumber, percentageOf, percentageWithin, sum} from "../src/utils/numbers";
17+
import {clamp, defaultNumber, percentageOf, percentageWithin, sum} from "../../src/utils/numbers";
1818

1919
describe('numbers', () => {
2020
describe('defaultNumber', () => {

test/objects-test.ts renamed to test/utils/objects-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
objectKeyChanges,
2424
objectShallowClone,
2525
objectWithOnly,
26-
} from "../src/utils/objects";
26+
} from "../../src/utils/objects";
2727

2828
describe('objects', () => {
2929
describe('objectExcluding', () => {

test/sets-test.ts renamed to test/utils/sets-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {setHasDiff} from "../src/utils/sets";
17+
import {setHasDiff} from "../../src/utils/sets";
1818

1919
describe('sets', () => {
2020
describe('setHasDiff', () => {

0 commit comments

Comments
 (0)