diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index eb47cf7..2a3078b 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -16,6 +16,7 @@ jobs: uses: actions/setup-node@v1 with: node-version: 14.x + - run: npm install -g @aeternity/aeproject - run: npm install - - run: npm run env + - run: aeproject env - run: npm test diff --git a/package.json b/package.json index 6731f78..8151bec 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,6 @@ "description": "This is the default package.json generated for your project", "main": "index.js", "scripts": { - "env": "aeproject env", "test": "NODE_ENV=test mocha ./test/**/*.js --timeout 0 --exit", "snippet": "node server/snippetLoader.js", "domLoader": "node server/domLoader.js", diff --git a/test/pageParserTest.js b/test/pageParserTest.js index 12a5f09..372c39f 100644 --- a/test/pageParserTest.js +++ b/test/pageParserTest.js @@ -28,7 +28,8 @@ describe('Page Parser', () => { assert.equal(result, expectedAddress); }); - it('Follow YouTube Short-URL, Parse Video to Channel', async () => { + // not working as youtube ToS must be accepted first + it.skip('Follow YouTube Short-URL, Parse Video to Channel', async () => { const expectedAddress = "ak_y87WkN4C4QevzjTuEYHg6XLqiWx3rjfYDFLBmZiqiro5mkRag"; const url = "https://youtu.be/HwBrVku303M"; // https://www.youtube.com/watch?v=HwBrVku303M