Skip to content

Commit

Permalink
test: fill empty test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianMazur committed Jul 31, 2024
1 parent d862d03 commit 6cbbd29
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BASE_URL } from "../../../../config.js"

describe("generated api key tests", function desc() {
afterEach(() => teardown())
it("...", async () => {
it("should generate an API key and use it", async () => {
let stdoutData

const generatedApiKey = new Promise((res) => {
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/authorizer/authorizer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe("lalala authorizer tests", function desc() {
//
;[
{
description: "...",
description: "should authorize user1 successfully with valid token",
expected: {
status: "authorized",
},
Expand All @@ -32,7 +32,7 @@ describe("lalala authorizer tests", function desc() {
},

{
description: "...",
description: "should authorize user2 successfully with valid token",
expected: {
status: "authorized",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe("Lambda.invoke aws-sdk v2 tests", function desc() {
},

{
description: "...",
description: "should handle client and event context correctly",
expected: {
Payload: stringify({
clientContext: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Lambda.invokeAsync aws-sdk v2 tests", function desc() {
//
;[
{
description: "...",
description: "should invoke the asynchronous function successfully",
expected: {
Status: 200,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe("Lambda.invoke aws-sdk v3 tests", function desc() {
},

{
description: "...",
description: "should return the correct client context and event payload",
expected: {
Payload: stringify({
clientContext: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe("Lambda.invokeAsync aws-sdk v3 tests", function desc() {
//
;[
{
description: "...",
description:
"should invoke the asynchronous function and return status 202",
expected: {
Payload: {},
StatusCode: 202,
Expand Down

0 comments on commit 6cbbd29

Please sign in to comment.