Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5d1f44

Browse files
committed
test: fix e2e tests
1 parent9eb0c3c commitd5d1f44

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

‎tests/e2e/e2e.test.js

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,22 @@ import { renderStatsCard } from "../../src/cards/stats-card.js";
1111
import{renderTopLanguages}from"../../src/cards/top-languages-card.js";
1212
import{renderWakatimeCard}from"../../src/cards/wakatime-card.js";
1313

14-
constREPO="dummy-cra";
15-
constUSER="grsdummy";
14+
constREPO="cra-test";
15+
constUSER="catelinemnemosyne";
1616
constSTATS_DATA={
17-
name:"grsdummy",
18-
totalPRs:2,
19-
totalCommits:2,
17+
name:"Cateline Mnemosyne",
18+
totalPRs:1,
19+
totalCommits:7,
2020
totalIssues:1,
2121
totalStars:1,
22-
contributedTo:2,
22+
contributedTo:1,
2323
rank:{
2424
level:"A+",
25-
score:50.900829325065935,
25+
score:50.893750297869225,
2626
},
2727
};
2828

2929
constLANGS_DATA={
30-
TypeScript:{
31-
color:"#3178c6",
32-
name:"TypeScript",
33-
size:2049,
34-
},
3530
HTML:{
3631
color:"#e34c26",
3732
name:"HTML",
@@ -42,44 +37,44 @@ const LANGS_DATA = {
4237
name:"CSS",
4338
size:930,
4439
},
45-
Python:{
40+
JavaScript:{
4641
color:"#3572A5",
47-
name:"Python",
48-
size:671,
42+
name:"JavaScript",
43+
size:1912,
4944
},
5045
};
5146

5247
constWAKATIME_DATA={
5348
human_readable_range:"last week",
5449
is_already_updating:false,
55-
is_coding_activity_visible:false,
50+
is_coding_activity_visible:true,
5651
is_including_today:false,
57-
is_other_usage_visible:false,
52+
is_other_usage_visible:true,
5853
is_stuck:false,
5954
is_up_to_date:false,
6055
is_up_to_date_pending_future:false,
6156
percent_calculated:0,
6257
range:"last_7_days",
6358
status:"pending_update",
6459
timeout:15,
65-
username:"grsdummy",
60+
username:USER,
6661
writes_only:false,
6762
};
6863

6964
constREPOSITORY_DATA={
70-
name:"dummy-cra",
71-
nameWithOwner:"grsdummy/dummy-cra",
65+
name:"cra-test",
66+
nameWithOwner:`${USER}/cra-test`,
7267
isPrivate:false,
7368
isArchived:false,
7469
isTemplate:false,
7570
stargazers:{
7671
totalCount:1,
7772
},
78-
description:"Dummy create react app.",
73+
description:"Simple cra test repo.",
7974
primaryLanguage:{
80-
color:"#3178c6",
81-
id:"MDg6TGFuZ3VhZ2UyODc=",
82-
name:"TypeScript",
75+
color:"#f1e05a",
76+
id:"MDg6TGFuZ3VhZ2UxNDA=",
77+
name:"JavaScript",
8378
},
8479
forkCount:0,
8580
starCount:1,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp