Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
a6c18f1
fix: fix slow auth tests
CodeItQuick Oct 10, 2020
06d63f2
fix: extra file in here not needed that has changes
CodeItQuick Oct 10, 2020
71d474d
fix: extra file in here not needed that has changes
CodeItQuick Oct 10, 2020
f635102
fix: added additional assert
CodeItQuick Oct 10, 2020
999a23c
fix: remove console log
CodeItQuick Oct 10, 2020
4b0a98b
fix: typescript and linting errors
CodeItQuick Oct 10, 2020
1bb7751
fix: fixing DI
CodeItQuick Oct 10, 2020
f6f5bf2
fix: fixing DI
CodeItQuick Oct 10, 2020
ac04de1
fix: fixing test
CodeItQuick Oct 11, 2020
c86e98f
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
a7f75bb
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
78c45d2
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
bb8fe22
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
20c2c27
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
6e3ddb9
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
eb4f57f
fix: fixed a buncha tests
CodeItQuick Oct 11, 2020
ddcfac3
fix: all the tests should pass now
CodeItQuick Oct 11, 2020
0789940
Merge branch 'master' into fix/slowAPITests
CodeItQuick Oct 11, 2020
5b22c8e
fix: all the tests should pass now again
CodeItQuick Oct 11, 2020
6558253
fix: remove cacheing to see if it fixes yarn issues
CodeItQuick Oct 11, 2020
fe1c96e
fix: fixing RefreshToken which I think broke
CodeItQuick Oct 11, 2020
9c1e8e1
fix: git workflows issues
CodeItQuick Oct 11, 2020
2d919e7
fix: git workflows issues
CodeItQuick Oct 11, 2020
1159a40
fix: git workflows issues
CodeItQuick Oct 11, 2020
ece5cb7
fix: git workflows issues
CodeItQuick Oct 11, 2020
896e24e
fix: git workflows issues
CodeItQuick Oct 11, 2020
b0b9464
fix: git workflows issues
CodeItQuick Oct 11, 2020
287493a
fix: needed a before for noc
CodeItQuick Oct 11, 2020
ee27936
fix: needed a before for noc
CodeItQuick Oct 11, 2020
36fe9cb
fix: fix workflow
CodeItQuick Oct 11, 2020
44a3b2c
fix: fix workflow
CodeItQuick Oct 11, 2020
151eef4
fix: fix workflow
CodeItQuick Oct 11, 2020
ed8918b
fix: fix workflow
CodeItQuick Oct 11, 2020
8d68d89
fix: fix workflow
CodeItQuick Oct 11, 2020
099432f
fix: fix nock
CodeItQuick Oct 11, 2020
e2853c0
fix: fix nock
CodeItQuick Oct 11, 2020
c6e52a5
fix: fix nock
CodeItQuick Oct 11, 2020
3a31b6f
fix: fix nock
CodeItQuick Oct 11, 2020
0c29967
fix: fix nock
CodeItQuick Oct 11, 2020
caca12d
fix: fix nock
CodeItQuick Oct 11, 2020
a557ff3
fix: fix nock
CodeItQuick Oct 11, 2020
efb3ab4
fix: fix nock
CodeItQuick Oct 11, 2020
5faaaac
fix: fix nock
CodeItQuick Oct 11, 2020
0170593
fix: fix nock
CodeItQuick Oct 11, 2020
979aa83
fix: fix nock
CodeItQuick Oct 11, 2020
2a54796
fix: fix nock
CodeItQuick Oct 11, 2020
047a190
fix: added dummy file to trigger rerun
CodeItQuick Oct 11, 2020
26d5435
fix: removed dummy txt
CodeItQuick Oct 11, 2020
4160aa7
fix: added dummy file to trigger rerun
CodeItQuick Oct 11, 2020
d4a3d41
fix: fix workflow
CodeItQuick Oct 11, 2020
bd8d3ea
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
9059a8b
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
74ad60c
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
ea0b641
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
77346a0
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
2d2a126
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
8a5e5f8
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
9cfe889
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
487ee03
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
68fced0
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
4ed73ba
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
f455bb0
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
756ed5b
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
2ca1b88
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
0ab2685
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
46134b4
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
31a5967
fix: fixing gha workflow
CodeItQuick Oct 13, 2020
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
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Lint commit messages
on: [pull_request]
on: [pull_request, pull_request_target]

jobs:
commitlint:
Expand Down
34 changes: 21 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,33 @@ env:
TWITCH_USER_NAME: ${{ secrets.TWITCH_USER_NAME }}
USER_ID: ${{ secrets.USER_ID }}
on:
push:
branches: [master]
pull_request:
branches: [master]
pull_request_target:
branches:
- master
- "**/*"
jobs:
build:
master:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@master
- uses: actions/cache@master
with:
path: '**/node_modules'
path: "**/node_modules"
key: ${{ runner.os }}-modules

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install modules
run: yarn

- name: Run tests
run: yarn jest
run: |
npm install
npm run build
npm test --verbose
env:
CI: true
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.env
node_modules/
dist/
dist/
package-lock.json
2,097 changes: 2,097 additions & 0 deletions coverage/clover.xml

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

224 changes: 224 additions & 0 deletions coverage/lcov-report/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
body, html {
margin:0; padding: 0;
height: 100%;
}
body {
font-family: Helvetica Neue, Helvetica, Arial;
font-size: 14px;
color:#333;
}
.small { font-size: 12px; }
*, *:after, *:before {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
h1 { font-size: 20px; margin: 0;}
h2 { font-size: 14px; }
pre {
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
margin: 0;
padding: 0;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
}
a { color:#0074D9; text-decoration:none; }
a:hover { text-decoration:underline; }
.strong { font-weight: bold; }
.space-top1 { padding: 10px 0 0 0; }
.pad2y { padding: 20px 0; }
.pad1y { padding: 10px 0; }
.pad2x { padding: 0 20px; }
.pad2 { padding: 20px; }
.pad1 { padding: 10px; }
.space-left2 { padding-left:55px; }
.space-right2 { padding-right:20px; }
.center { text-align:center; }
.clearfix { display:block; }
.clearfix:after {
content:'';
display:block;
height:0;
clear:both;
visibility:hidden;
}
.fl { float: left; }
@media only screen and (max-width:640px) {
.col3 { width:100%; max-width:100%; }
.hide-mobile { display:none!important; }
}

.quiet {
color: #7f7f7f;
color: rgba(0,0,0,0.5);
}
.quiet a { opacity: 0.7; }

.fraction {
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
font-size: 10px;
color: #555;
background: #E8E8E8;
padding: 4px 5px;
border-radius: 3px;
vertical-align: middle;
}

div.path a:link, div.path a:visited { color: #333; }
table.coverage {
border-collapse: collapse;
margin: 10px 0 0 0;
padding: 0;
}

table.coverage td {
margin: 0;
padding: 0;
vertical-align: top;
}
table.coverage td.line-count {
text-align: right;
padding: 0 5px 0 20px;
}
table.coverage td.line-coverage {
text-align: right;
padding-right: 10px;
min-width:20px;
}

table.coverage td span.cline-any {
display: inline-block;
padding: 0 5px;
width: 100%;
}
.missing-if-branch {
display: inline-block;
margin-right: 5px;
border-radius: 3px;
position: relative;
padding: 0 4px;
background: #333;
color: yellow;
}

.skip-if-branch {
display: none;
margin-right: 10px;
position: relative;
padding: 0 4px;
background: #ccc;
color: white;
}
.missing-if-branch .typ, .skip-if-branch .typ {
color: inherit !important;
}
.coverage-summary {
border-collapse: collapse;
width: 100%;
}
.coverage-summary tr { border-bottom: 1px solid #bbb; }
.keyline-all { border: 1px solid #ddd; }
.coverage-summary td, .coverage-summary th { padding: 10px; }
.coverage-summary tbody { border: 1px solid #bbb; }
.coverage-summary td { border-right: 1px solid #bbb; }
.coverage-summary td:last-child { border-right: none; }
.coverage-summary th {
text-align: left;
font-weight: normal;
white-space: nowrap;
}
.coverage-summary th.file { border-right: none !important; }
.coverage-summary th.pct { }
.coverage-summary th.pic,
.coverage-summary th.abs,
.coverage-summary td.pct,
.coverage-summary td.abs { text-align: right; }
.coverage-summary td.file { white-space: nowrap; }
.coverage-summary td.pic { min-width: 120px !important; }
.coverage-summary tfoot td { }

.coverage-summary .sorter {
height: 10px;
width: 7px;
display: inline-block;
margin-left: 0.5em;
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
}
.coverage-summary .sorted .sorter {
background-position: 0 -20px;
}
.coverage-summary .sorted-desc .sorter {
background-position: 0 -10px;
}
.status-line { height: 10px; }
/* yellow */
.cbranch-no { background: yellow !important; color: #111; }
/* dark red */
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
.low .chart { border:1px solid #C21F39 }
.highlighted,
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
background: #C21F39 !important;
}
/* medium red */
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
/* light red */
.low, .cline-no { background:#FCE1E5 }
/* light green */
.high, .cline-yes { background:rgb(230,245,208) }
/* medium green */
.cstat-yes { background:rgb(161,215,106) }
/* dark green */
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
.high .chart { border:1px solid rgb(77,146,33) }
/* dark yellow (gold) */
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
.medium .chart { border:1px solid #f9cd0b; }
/* light yellow */
.medium { background: #fff4c2; }

.cstat-skip { background: #ddd; color: #111; }
.fstat-skip { background: #ddd; color: #111 !important; }
.cbranch-skip { background: #ddd !important; color: #111; }

span.cline-neutral { background: #eaeaea; }

.coverage-summary td.empty {
opacity: .5;
padding-top: 4px;
padding-bottom: 4px;
line-height: 1;
color: #888;
}

.cover-fill, .cover-empty {
display:inline-block;
height: 12px;
}
.chart {
line-height: 0;
}
.cover-empty {
background: white;
}
.cover-full {
border-right: none !important;
}
pre.prettyprint {
border: none !important;
padding: 0 !important;
margin: 0 !important;
}
.com { color: #999 !important; }
.ignore-none { color: #999; font-weight: normal; }

.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -48px;
}
.footer, .push {
height: 48px;
}
79 changes: 79 additions & 0 deletions coverage/lcov-report/block-navigation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/* eslint-disable */
var jumpToCode = (function init() {
// Classes of code we would like to highlight in the file view
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];

// Elements to highlight in the file listing view
var fileListingElements = ['td.pct.low'];

// We don't want to select elements that are direct descendants of another match
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `

// Selecter that finds elements on the page to which we can jump
var selector =
fileListingElements.join(', ') +
', ' +
notSelector +
missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`

// The NodeList of matching elements
var missingCoverageElements = document.querySelectorAll(selector);

var currentIndex;

function toggleClass(index) {
missingCoverageElements
.item(currentIndex)
.classList.remove('highlighted');
missingCoverageElements.item(index).classList.add('highlighted');
}

function makeCurrent(index) {
toggleClass(index);
currentIndex = index;
missingCoverageElements.item(index).scrollIntoView({
behavior: 'smooth',
block: 'center',
inline: 'center'
});
}

function goToPrevious() {
var nextIndex = 0;
if (typeof currentIndex !== 'number' || currentIndex === 0) {
nextIndex = missingCoverageElements.length - 1;
} else if (missingCoverageElements.length > 1) {
nextIndex = currentIndex - 1;
}

makeCurrent(nextIndex);
}

function goToNext() {
var nextIndex = 0;

if (
typeof currentIndex === 'number' &&
currentIndex < missingCoverageElements.length - 1
) {
nextIndex = currentIndex + 1;
}

makeCurrent(nextIndex);
}

return function jump(event) {
switch (event.which) {
case 78: // n
case 74: // j
goToNext();
break;
case 66: // b
case 75: // k
case 80: // p
goToPrevious();
break;
}
};
})();
window.addEventListener('keydown', jumpToCode);
Binary file added coverage/lcov-report/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading