Skip to content

Commit

Permalink
Merge branch 'master' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatnema authored Mar 7, 2024
2 parents 91af08f + 1c4c4b7 commit 5e4536d
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 101 deletions.
10 changes: 10 additions & 0 deletions config/MAINTAINERS.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,5 +709,15 @@
"repos": [
"website"
]
},
{
"name": "Viacheslav Turovskyi",
"github": "aeworxet",
"slack": "U01G3U01SVC",
"availableForHire": false,
"isTscMember": false,
"repos": [
"bundler"
]
}
]
7 changes: 7 additions & 0 deletions config/meetings.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,12 @@
"url": "https://github.com/asyncapi/community/issues/1084",
"banner": "",
"date": "2024-03-12T20:00:00.000Z"
},
{
"title": "AACoT'24 Community Meeting",
"calLink": "https://www.google.com/calendar/event?eid=aG9xMzUyam82cDluaDNpY2c2aDBlb25pdDggY19xOXRzZWlnbG9tZHNqNm5qdWh2YnB0czExY0Bn",
"url": "https://github.com/asyncapi/community/issues/1087",
"banner": "https://github.com/asyncapi/community/assets/66913810/43114d9e-ee7f-4479-8714-475d67a374aa",
"date": "2024-03-13T14:00:00.000Z"
}
]
12 changes: 6 additions & 6 deletions config/newsroom_videos.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
[
{
"image_url": "https://i.ytimg.com/vi/jO4PwdmKGNw/hqdefault.jpg",
"title": "Community Meeting(5th of March, 2024)",
"description": "https://github.com/asyncapi/community/issues/1068.",
"videoId": "jO4PwdmKGNw"
},
{
"image_url": "https://i.ytimg.com/vi/4t4nAmDekDA/hqdefault.jpg",
"title": "AACoT'24 Community Meeting, Wednesday February 7th 2024",
Expand All @@ -22,11 +28,5 @@
"title": "Overview of AsyncAPI v3",
"description": "Join us for an insightful stream diving deep into the latest advancements of AsyncAPI v3! We'll explore this cutting-edge ...",
"videoId": "prFgD14u7T0"
},
{
"image_url": "https://i.ytimg.com/vi/-OsMet9h_dg/hqdefault.jpg",
"title": "3 Request/Reply Use Cases",
"description": "Explain Request/Reply use cases to me like I'm a 5 year old.",
"videoId": "-OsMet9h_dg"
}
]
10 changes: 7 additions & 3 deletions cypress/test/scripts/dashboard/build-dashboard.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ describe('getLabel function', () => {
describe('monthsSince function', () => {
// Define some sample dates and expected results
const today = new Date();
const oneMonthAgo = new Date(today.getFullYear(), today.getMonth() - 1, today.getDate());
const twoMonthsAgo = new Date(today.getFullYear(), today.getMonth() - 2, today.getDate());
const threeMonthsAgo = new Date(today.getFullYear(), today.getMonth() - 3, today.getDate());

// number of miliseconds in a month
const month = 30 * 24 * 60 * 60 * 1000;

const oneMonthAgo = today - month;
const twoMonthsAgo = today - 2 * month;
const threeMonthsAgo = today - 3 * month;

// Write the test cases
it('should return 0 for the same date', () => {
Expand Down
Loading

0 comments on commit 5e4536d

Please sign in to comment.