Skip to content

Commit 8c9ee25

Browse files
authored
Merge pull request #6 from x4th/main
Fix #5 - nested tests error
2 parents 6ee8991 + 9408dba commit 8c9ee25

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

specs/radix-sort/radix-sort.solution.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ function radixSort(array) {
4949

5050
// unit tests
5151
// do not modify the below code
52-
test("radix sort", function () {
53-
test("should sort correctly", () => {
52+
describe.skip("radix sort", function () {
53+
it("should sort correctly", () => {
5454
const nums = [
5555
20,
5656
51,
@@ -99,7 +99,7 @@ test("radix sort", function () {
9999
3001
100100
]);
101101
});
102-
test("should sort 99 random numbers correctly", () => {
102+
it("should sort 99 random numbers correctly", () => {
103103
const fill = 99;
104104
const nums = new Array(fill)
105105
.fill()

specs/radix-sort/radix-sort.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ function radixSort(array) {
1515

1616
// unit tests
1717
// do not modify the below code
18-
test("radix sort", function () {
19-
test.skip("should sort correctly", () => {
18+
describe.skip("radix sort", function () {
19+
it("should sort correctly", () => {
2020
const nums = [
2121
20,
2222
51,
@@ -65,7 +65,7 @@ test("radix sort", function () {
6565
3001
6666
]);
6767
});
68-
test.skip("should sort 99 random numbers correctly", () => {
68+
it("should sort 99 random numbers correctly", () => {
6969
const fill = 99;
7070
const nums = new Array(fill)
7171
.fill()

specs/traversals/depth-first.solution.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const postorderTraverse = (node, array) => {
2424

2525
// unit tests
2626
// do not modify the below code
27-
test("depth-first traversals", function () {
27+
describe.skip("depth-first traversals", function () {
2828
const tree = {
2929
value: 8,
3030
left: {

0 commit comments

Comments
 (0)