diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-24 20:49:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 20:49:44 -0400 |
commit | c4f7b2ac0095293d01b77c0ad15aaeaf148e1845 (patch) | |
tree | 74de7e8e52a04494235b6ed8d5ca166c698355bf /tests | |
parent | a4f59c776189dbd99a9bc6ca36e9d36aee4f56a2 (diff) |
fix(check): ignore noImplicitOverrides in remote modules (#25854)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/specs/check/remote_missing_override/__test__.jsonc | 4 | ||||
-rw-r--r-- | tests/specs/check/remote_missing_override/main.ts | 1 | ||||
-rw-r--r-- | tests/testdata/check/missing_override.ts | 10 |
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/specs/check/remote_missing_override/__test__.jsonc b/tests/specs/check/remote_missing_override/__test__.jsonc new file mode 100644 index 000000000..db79e3737 --- /dev/null +++ b/tests/specs/check/remote_missing_override/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "check --all main.ts", + "output": "Download [WILDLINE]\nCheck [WILDLINE]\n" +} diff --git a/tests/specs/check/remote_missing_override/main.ts b/tests/specs/check/remote_missing_override/main.ts new file mode 100644 index 000000000..e51eb6314 --- /dev/null +++ b/tests/specs/check/remote_missing_override/main.ts @@ -0,0 +1 @@ +import "http://localhost:4545/check/missing_override.ts"; diff --git a/tests/testdata/check/missing_override.ts b/tests/testdata/check/missing_override.ts new file mode 100644 index 000000000..b3163d484 --- /dev/null +++ b/tests/testdata/check/missing_override.ts @@ -0,0 +1,10 @@ +export class Base { + method() { + } +} + +export class Derived extends Base { + // missing override keyword + method() { + } +} |