From 76e23b8be04aa4428ce122971481e7d6fa29e14b Mon Sep 17 00:00:00 2001
From: evoinea <89025096+evoinea@users.noreply.github.com>
Date: Wed, 8 Sep 2021 13:06:03 +0100
Subject: [PATCH] removed nodejs 16x
https://github.com/nodejs/node/issues/40030 Bug found in Node js; removed 16x for now
---
.github/workflows/test.yml | 2 +-
src/Loading/Loading.test.js | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 21686574b..eb266f8fb 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
- node-version: [12.x, 14.x, 15.x, 16.x]
+ node-version: [12.x, 14.x, 15.x]
steps:
- uses: actions/checkout@v2
diff --git a/src/Loading/Loading.test.js b/src/Loading/Loading.test.js
index 988b53b9c..5dd5ce8cd 100644
--- a/src/Loading/Loading.test.js
+++ b/src/Loading/Loading.test.js
@@ -7,8 +7,8 @@ import React from "react";
*/
describe("Loading", () => {
test("can set the label", () => {
- // const newLabel = "This is a test";
- // render();
- // expect(screen.getByText(newLabel));
+ const newLabel = "This is a test";
+ render();
+ expect(screen.getByText(newLabel));
});
});