We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ddcf77 commit 9425ae9Copy full SHA for 9425ae9
tests/stack/validate.test.ts
@@ -5,8 +5,9 @@ import { validateYaml } from '../../src/stack';
5
import { RawServerlessIac } from '../../src/types';
6
7
const jsonIac = parse(
8
- readFileSync(path.resolve(__dirname, './fixtures/serverless-insignt.yml'), 'utf8'),
+ readFileSync(path.resolve(__dirname, '../fixtures/serverless-insignt.yml'), 'utf8'),
9
) as RawServerlessIac;
10
+
11
describe('unit test for validate', () => {
12
it('should pass the yaml validation when given yaml config is valid', () => {
13
expect(validateYaml(jsonIac)).toBe(true);
0 commit comments