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

constants.test.ts 598 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
  1. import { VALID_FILE_EXTENSIONS } from '../../src/prompts/constants';
  2. describe('VALID_FILE_EXTENSIONS', () => {
  3. it('should include .j2 extension', () => {
  4. expect(VALID_FILE_EXTENSIONS).toContain('.j2');
  5. });
  6. it('should include common file extensions', () => {
  7. expect(VALID_FILE_EXTENSIONS).toContain('.js');
  8. expect(VALID_FILE_EXTENSIONS).toContain('.json');
  9. expect(VALID_FILE_EXTENSIONS).toContain('.md');
  10. expect(VALID_FILE_EXTENSIONS).toContain('.txt');
  11. expect(VALID_FILE_EXTENSIONS).toContain('.yaml');
  12. expect(VALID_FILE_EXTENSIONS).toContain('.yml');
  13. });
  14. });
Tip!

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

Comments

Loading...