Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add team owner name to Team object #230

Merged
merged 4 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45265,6 +45265,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://bluenoserathletics.files.wordpress.com/2018/01/img_0451.jpg",
"losses": 3,
"name": "2012, 2013, and 2017 Champion",
"ownerName": "Michael Gronski",
"playoffSeed": 3,
"regularSeasonPointsAgainst": 1324,
"regularSeasonPointsFor": 1459.3200000000002,
Expand Down Expand Up @@ -45735,6 +45736,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "http://3219a2.medialib.glogster.com/media/f8/f81cfe4e18dba8da78f1e654f311d7852eedf937770ef0670f656835288409ca/prestige-png.png",
"losses": 10,
"name": "Prestige Worldwide",
"ownerName": "Bryan Gronski",
"playoffSeed": 8,
"regularSeasonPointsAgainst": 1511.2399999999998,
"regularSeasonPointsFor": 1189.8999999999999,
Expand Down Expand Up @@ -46201,6 +46203,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "http://www.insidethehall.com/wp-content/uploads/2017/03/IUArchie0008-1.jpg",
"losses": 6,
"name": "Romeo LEGford",
"ownerName": "scottie munson",
"playoffSeed": 4,
"regularSeasonPointsAgainst": 1418.2600000000002,
"regularSeasonPointsFor": 1392.2399999999998,
Expand Down Expand Up @@ -46669,6 +46672,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"leagueId": "336358",
"losses": 2,
"name": "Dilly Dilly",
"ownerName": "Brian Reese",
"playoffSeed": 1,
"regularSeasonPointsAgainst": 1204.7999999999997,
"regularSeasonPointsFor": 1526.84,
Expand Down Expand Up @@ -47139,6 +47143,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "http://larrybrownsports.com/wp-content/uploads/2018/09/ryan-fitzpatrick-conor-mcgregor.jpg",
"losses": 6,
"name": "FitzMagic’s Chest Hair",
"ownerName": "Chris Martin",
"playoffSeed": 2,
"regularSeasonPointsAgainst": 1411.9,
"regularSeasonPointsFor": 1500.0799999999997,
Expand Down Expand Up @@ -47611,6 +47616,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "http://sportsdata-corpsite-wordpress.s3.amazonaws.com/wp-content/uploads/2014/03/Ben-Tate-01.jpg",
"losses": 9,
"name": "Team Booty Butt",
"ownerName": "Kyle Martin",
"playoffSeed": 7,
"regularSeasonPointsAgainst": 1371.5399999999995,
"regularSeasonPointsFor": 1354.3,
Expand Down Expand Up @@ -48083,6 +48089,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://i.imgur.com/OQhSYj1.gif",
"losses": 8,
"name": "No Bell Peace Prize",
"ownerName": "Mike Kreiser",
"playoffSeed": 6,
"regularSeasonPointsAgainst": 1353.24,
"regularSeasonPointsFor": 1242.24,
Expand Down Expand Up @@ -48556,6 +48563,7 @@ exports[`2018 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://i.imgur.com/IENYXmd.jpg",
"losses": 8,
"name": "MMMA MA MA MMMA MAHOME!!",
"ownerName": "Jacob Chrysler",
"playoffSeed": 5,
"regularSeasonPointsAgainst": 1395.2,
"regularSeasonPointsFor": 1325.2600000000002,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50012,6 +50012,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://y.yarn.co/079e8415-0367-4cf5-8ac2-9046cec23e8c_200_10.gif",
"losses": 6,
"name": "My Horn Can Pierce The Sky",
"ownerName": "Michael Gronski",
"playoffSeed": 3,
"regularSeasonPointsAgainst": 1484.0799999999997,
"regularSeasonPointsFor": 1569.8400000000001,
Expand Down Expand Up @@ -50536,6 +50537,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://g.espncdn.com/lm-static/logo-packs/ffl/BoneHeads-ToddDetwiler/BoneHeads-04.svg",
"losses": 8,
"name": "Tipp City Vipers",
"ownerName": "Bryan Gronski",
"playoffSeed": 7,
"regularSeasonPointsAgainst": 1508.68,
"regularSeasonPointsFor": 1475.42,
Expand Down Expand Up @@ -51031,6 +51033,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://pbs.twimg.com/profile_images/910928127475494912/gaAH4fyC_400x400.jpg",
"losses": 8,
"name": "Mississippi Leghounds",
"ownerName": "scottie munson",
"playoffSeed": 6,
"regularSeasonPointsAgainst": 1508.1399999999999,
"regularSeasonPointsFor": 1538.74,
Expand Down Expand Up @@ -51531,6 +51534,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://g.espncdn.com/lm-static/ffl/images/default_logos/20.svg",
"losses": 8,
"name": "D-Z Nutz",
"ownerName": "Brian Reese",
"playoffSeed": 8,
"regularSeasonPointsAgainst": 1483.24,
"regularSeasonPointsFor": 1467.1399999999996,
Expand Down Expand Up @@ -52029,6 +52033,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://www.rbauction.com/cms_assets/images/blog/2018/02-feb/JD-9630-FWD-574x299.jpg",
"losses": 5,
"name": "Bad Boi MoMo And Co.",
"ownerName": "Christopher Martin",
"playoffSeed": 2,
"regularSeasonPointsAgainst": 1581.8999999999999,
"regularSeasonPointsFor": 1635.04,
Expand Down Expand Up @@ -52523,6 +52528,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "http://sportsdata-corpsite-wordpress.s3.amazonaws.com/wp-content/uploads/2014/03/Ben-Tate-01.jpg",
"losses": 6,
"name": "Broncos Country Lets Riideeee",
"ownerName": "Kyle Martin",
"playoffSeed": 4,
"regularSeasonPointsAgainst": 1593.46,
"regularSeasonPointsFor": 1556.98,
Expand Down Expand Up @@ -53023,6 +53029,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://i.imgur.com/OQhSYj1.gif",
"losses": 7,
"name": "The David Solomans",
"ownerName": "Mike Kreiser",
"playoffSeed": 5,
"regularSeasonPointsAgainst": 1438.64,
"regularSeasonPointsFor": 1371.8199999999997,
Expand Down Expand Up @@ -53543,6 +53550,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/14/Bellefontaine-ohio-courthouse-fountain.jpg/185px-Bellefontaine-ohio-courthouse-fountain.jpg",
"losses": 4,
"name": "Bellefontaine Football Team",
"ownerName": "Jacob Chrysler",
"playoffSeed": 1,
"regularSeasonPointsAgainst": 1457.72,
"regularSeasonPointsFor": 1558.48,
Expand Down Expand Up @@ -54044,6 +54052,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://g.espncdn.com/lm-static/ffl/images/default_logos/6.svg",
"losses": 9,
"name": "YAH YAHYEETYAH",
"ownerName": "luke brorein",
"playoffSeed": 9,
"regularSeasonPointsAgainst": 1524.02,
"regularSeasonPointsFor": 1492.06,
Expand Down Expand Up @@ -54536,6 +54545,7 @@ exports[`2022 season client integration tests getTeamsAtWeek returns a populated
"logoURL": "https://g.espncdn.com/lm-static/logo-packs/ffl/Blockparty-RobbHars/blockplayers-11.svg",
"losses": 9,
"name": "Umust Construct + Pylons",
"ownerName": "Nick Wright",
"playoffSeed": 10,
"regularSeasonPointsAgainst": 1507.7000000000003,
"regularSeasonPointsFor": 1422.0600000000002,
Expand Down
10 changes: 10 additions & 0 deletions jest-integration-tests.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
clearMocks: true,
collectCoverage: false,
restoreMocks: true,
testEnvironment: 'node',
testMatch: ['**/integration-tests/**/?(*.)+(spec|test).[jt]s?(x)'],
transform: {
'^.+\\.js$': 'babel-jest'
}
};
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
coverageDirectory: 'coverage',
restoreMocks: true,
testEnvironment: 'node',
testMatch: ['**/src/**/?(*.)+(spec|test).[jt]s?(x)'],
transform: {
'^.+\\.js$': 'babel-jest'
}
Expand Down
Loading