diff --git a/tests/lib/rules/define-props-declaration.js b/tests/lib/rules/define-props-declaration.js index 6f4925480..87c6633ca 100644 --- a/tests/lib/rules/define-props-declaration.js +++ b/tests/lib/rules/define-props-declaration.js @@ -485,6 +485,30 @@ tester.run('define-props-declaration', rule, { line: 3 } ] + }, + // runtime + { + filename: 'test.vue', + code: ` + + `, + output: null, + options: ['runtime'], + errors: [ + { + message: 'Use runtime declaration instead of type-based declaration.', + line: 3 + } + ], + languageOptions: { + parserOptions: { + parser: require.resolve('@typescript-eslint/parser') + } + } } ] })