Skip to content

Add missing special-words model properties test coverage#3796

Merged
v-jiaodi merged 8 commits intomainfrom
copilot/implement-spector-tests-special-words
Mar 3, 2026
Merged

Add missing special-words model properties test coverage#3796
v-jiaodi merged 8 commits intomainfrom
copilot/implement-spector-tests-special-words

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 27, 2026

Two scenarios from special-words/mockapi.ts were not covered in specialWords.spec.ts: SpecialWords_ModelProperties_dictMethods and SpecialWords_ModelProperties_withList.

Changes

  • specialWords.spec.ts — Added two missing test cases:
    • modelProperties.dictMethods(...) — POSTs all 10 dict method property names (keys, items, values, popitem, clear, update, setdefault, pop, get, copy) as "ok"
    • modelProperties.withList(...) — POSTs { list: "ok" }
  • generated/special-words/src/index.d.ts — Regenerated client typings

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
fixes #3699

Copilot AI and others added 2 commits February 27, 2026 08:52
…withList

Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement spector tests for special words Add missing special-words model properties test coverage Feb 27, 2026
@v-jiaodi
Copy link
Copy Markdown
Member

@copilot revert .gitignore change.

Co-authored-by: v-jiaodi <80496810+v-jiaodi@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 27, 2026

@copilot revert .gitignore change.

Done. The .gitignore change has been reverted in 7c5b69c.

@v-jiaodi v-jiaodi marked this pull request as ready for review February 28, 2026 01:20
@v-jiaodi v-jiaodi merged commit 254d030 into main Mar 3, 2026
16 checks passed
@v-jiaodi v-jiaodi deleted the copilot/implement-spector-tests-special-words branch March 3, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supplement spector case for special-words

3 participants