mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix test descriptions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
de10bb61ee
commit
1d131b6032
@ -273,7 +273,7 @@ describe("requestNamespaceListPermissions", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("when resourceRules has matching resource without list verb", () => {
|
describe("when resourceRules has matching resource without list verb", () => {
|
||||||
it("return truthy function", async () => {
|
it("return falsy function", async () => {
|
||||||
const requestPermissions = requestNamespaceListPermissions(createFakeProxyConfig(
|
const requestPermissions = requestNamespaceListPermissions(createFakeProxyConfig(
|
||||||
new Promise((resolve) => resolve({
|
new Promise((resolve) => resolve({
|
||||||
body: {
|
body: {
|
||||||
@ -304,7 +304,7 @@ describe("requestNamespaceListPermissions", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("when resourceRules has no matching resource with list verb", () => {
|
describe("when resourceRules has no matching resource with list verb", () => {
|
||||||
it("return truthy function", async () => {
|
it("return falsy function", async () => {
|
||||||
const requestPermissions = requestNamespaceListPermissions(createFakeProxyConfig(
|
const requestPermissions = requestNamespaceListPermissions(createFakeProxyConfig(
|
||||||
new Promise((resolve) => resolve({
|
new Promise((resolve) => resolve({
|
||||||
body: {
|
body: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user