Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

early-access.js 741 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. const fs = require('fs').promises
  2. const path = require('path')
  3. const { testViaActionsOnly } = require('../helpers/conditional-runs')
  4. describe('cloning early-access', () => {
  5. testViaActionsOnly('the content directory exists', async () => {
  6. const eaDir = path.join(process.cwd(), 'content/early-access')
  7. expect(await fs.stat(eaDir)).toBeTruthy()
  8. })
  9. testViaActionsOnly('the data directory exists', async () => {
  10. const eaDir = path.join(process.cwd(), 'data/early-access')
  11. expect(await fs.stat(eaDir)).toBeTruthy()
  12. })
  13. testViaActionsOnly('the assets/images directory exists', async () => {
  14. const eaDir = path.join(process.cwd(), 'assets/images/early-access')
  15. expect(await fs.stat(eaDir)).toBeTruthy()
  16. })
  17. })
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...