disable flaky integration test
ci / build (push) Successful in 1m53s Details

This commit is contained in:
CJ_Clippy 2024-07-14 10:38:59 -08:00
parent 46fd8cf1e9
commit 087bbc27bb
4 changed files with 25 additions and 6 deletions

View File

@ -22,8 +22,5 @@ jobs:
- recursive: true - recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies] args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Test scout - name: Unit test all packages
run: pnpm test --filter scout run: pnpm test -r
- name: Test link2cid
run: pnpm test --filter link2cid

View File

@ -50,6 +50,8 @@
}, },
"packageManager": "pnpm@9.2.0", "packageManager": "pnpm@9.2.0",
"devDependencies": { "devDependencies": {
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"chai": "^5.1.0", "chai": "^5.1.0",
"mocha": "^10.4.0", "mocha": "^10.4.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",

View File

@ -96,6 +96,12 @@ importers:
specifier: ^0.0.34 specifier: ^0.0.34
version: 0.0.34 version: 0.0.34
devDependencies: devDependencies:
'@types/chai':
specifier: ^4.3.16
version: 4.3.16
'@types/mocha':
specifier: ^10.0.7
version: 10.0.7
chai: chai:
specifier: ^5.1.0 specifier: ^5.1.0
version: 5.1.1 version: 5.1.1
@ -997,6 +1003,9 @@ packages:
'@tsconfig/node20@20.1.4': '@tsconfig/node20@20.1.4':
resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==} resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==}
'@types/chai@4.3.16':
resolution: {integrity: sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==}
'@types/debug@4.1.12': '@types/debug@4.1.12':
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
@ -1021,6 +1030,9 @@ packages:
'@types/luxon@3.4.2': '@types/luxon@3.4.2':
resolution: {integrity: sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA==} resolution: {integrity: sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA==}
'@types/mocha@10.0.7':
resolution: {integrity: sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==}
'@types/ms@0.7.34': '@types/ms@0.7.34':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
@ -3556,6 +3568,8 @@ snapshots:
'@tsconfig/node20@20.1.4': {} '@tsconfig/node20@20.1.4': {}
'@types/chai@4.3.16': {}
'@types/debug@4.1.12': '@types/debug@4.1.12':
dependencies: dependencies:
'@types/ms': 0.7.34 '@types/ms': 0.7.34
@ -3584,6 +3598,8 @@ snapshots:
'@types/luxon@3.4.2': {} '@types/luxon@3.4.2': {}
'@types/mocha@10.0.7': {}
'@types/ms@0.7.34': {} '@types/ms@0.7.34': {}
'@types/node@20.14.10': '@types/node@20.14.10':

View File

@ -4,7 +4,11 @@ import { getInitialRoomDossier } from './cb.js'
describe('cb', function () { describe('cb', function () {
describe('getInitialRoomDossier', function () { describe('getInitialRoomDossier', function () {
it('should return json', async function () { /**
* this is an integration test that fails in CI due to CB blocking IP ranges
* @todo use a proxy or something
*/
xit('should return json', async function () {
const dossier = await getInitialRoomDossier('https://chaturbate.com/projektmelody') const dossier = await getInitialRoomDossier('https://chaturbate.com/projektmelody')
expect(dossier).to.have.property('wschat_host') expect(dossier).to.have.property('wschat_host')
}) })