Skip to content

Commit 9425ae9

Browse files
committed
fix: test path issue #5
Signed-off-by: seven <[email protected]>
1 parent 8ddcf77 commit 9425ae9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/stack/validate.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import { validateYaml } from '../../src/stack';
55
import { RawServerlessIac } from '../../src/types';
66

77
const jsonIac = parse(
8-
readFileSync(path.resolve(__dirname, './fixtures/serverless-insignt.yml'), 'utf8'),
8+
readFileSync(path.resolve(__dirname, '../fixtures/serverless-insignt.yml'), 'utf8'),
99
) as RawServerlessIac;
10+
1011
describe('unit test for validate', () => {
1112
it('should pass the yaml validation when given yaml config is valid', () => {
1213
expect(validateYaml(jsonIac)).toBe(true);

0 commit comments

Comments
 (0)