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
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Test scout
run: pnpm test --filter scout
- name: Test link2cid
run: pnpm test --filter link2cid
- name: Unit test all packages
run: pnpm test -r

View File

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

View File

@ -96,6 +96,12 @@ importers:
specifier: ^0.0.34
version: 0.0.34
devDependencies:
'@types/chai':
specifier: ^4.3.16
version: 4.3.16
'@types/mocha':
specifier: ^10.0.7
version: 10.0.7
chai:
specifier: ^5.1.0
version: 5.1.1
@ -997,6 +1003,9 @@ packages:
'@tsconfig/node20@20.1.4':
resolution: {integrity: sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==}
'@types/chai@4.3.16':
resolution: {integrity: sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==}
'@types/debug@4.1.12':
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
@ -1021,6 +1030,9 @@ packages:
'@types/luxon@3.4.2':
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':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
@ -3556,6 +3568,8 @@ snapshots:
'@tsconfig/node20@20.1.4': {}
'@types/chai@4.3.16': {}
'@types/debug@4.1.12':
dependencies:
'@types/ms': 0.7.34
@ -3584,6 +3598,8 @@ snapshots:
'@types/luxon@3.4.2': {}
'@types/mocha@10.0.7': {}
'@types/ms@0.7.34': {}
'@types/node@20.14.10':

View File

@ -4,7 +4,11 @@ import { getInitialRoomDossier } from './cb.js'
describe('cb', 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')
expect(dossier).to.have.property('wschat_host')
})