diff --git a/tests/unit/early-access.js b/tests/unit/early-access.js index 82b5bc2804..f8ad0b3b88 100644 --- a/tests/unit/early-access.js +++ b/tests/unit/early-access.js @@ -5,23 +5,19 @@ const { GITHUB_ACTIONS, GITHUB_REPOSITORY } = process.env const runningActionsOnInternalRepo = GITHUB_ACTIONS === 'true' && GITHUB_REPOSITORY === 'github/docs-internal' const testViaActionsOnly = runningActionsOnInternalRepo ? test : test.skip -// -// TODO test ea-config -// - describe('cloning early-access', () => { testViaActionsOnly('the content directory exists', async () => { const eaContentDir = path.join(process.cwd(), 'content/early-access') expect(fs.existsSync(eaContentDir)).toBe(true) }) - // testViaActionsOnly('the data directory exists', async () => { - // const eaContentDir = path.join(process.cwd(), 'data/early-access') - // expect(fs.existsSync(eaContentDir)).toBe(true) - // }) + testViaActionsOnly('the data directory exists', async () => { + const eaContentDir = path.join(process.cwd(), 'data/early-access') + expect(fs.existsSync(eaContentDir)).toBe(true) + }) - // testViaActionsOnly('the assets directory exists', async () => { - // const eaContentDir = path.join(process.cwd(), 'assets/early-access') - // expect(fs.existsSync(eaContentDir)).toBe(true) - // }) + testViaActionsOnly('the assets/images directory exists', async () => { + const eaContentDir = path.join(process.cwd(), 'assets/images/early-access') + expect(fs.existsSync(eaContentDir)).toBe(true) + }) })