Chai
E555968
Chai is a popular JavaScript assertion library commonly used in testing frameworks like Mocha to provide expressive, readable test assertions.
All labels observed (1)
| Label | Occurrences |
|---|---|
| Chai canonical | 2 |
How this entity was disambiguated
This entity first appeared as the object of triple T5922392 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: Chai Context triple: [Expect.js, hasAlternative, Chai]
-
A.
Chaiya
Chaiya is an ancient port town in southern Thailand that served as an important regional center and religious hub within the maritime Srivijaya trading network.
-
B.
Uji tea
Uji tea is a renowned Japanese green tea celebrated for its high quality and long history of production in the Uji region near Kyoto.
-
C.
Green Tea
"Green Tea" is a gothic short story by Sheridan Le Fanu that follows a clergyman haunted by a demonic monkey, exploring themes of madness, the supernatural, and psychological terror.
-
D.
TEA
TEA is the state government agency responsible for overseeing public primary and secondary education in Texas.
-
E.
The Tea
The Tea is an 1880 oil painting by American Impressionist Mary Cassatt that depicts two women in a refined domestic interior, exemplifying her focus on the private lives of women.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: Chai Target entity description: Chai is a popular JavaScript assertion library commonly used in testing frameworks like Mocha to provide expressive, readable test assertions.
-
A.
Chaiya
Chaiya is an ancient port town in southern Thailand that served as an important regional center and religious hub within the maritime Srivijaya trading network.
-
B.
Uji tea
Uji tea is a renowned Japanese green tea celebrated for its high quality and long history of production in the Uji region near Kyoto.
-
C.
Green Tea
"Green Tea" is a gothic short story by Sheridan Le Fanu that follows a clergyman haunted by a demonic monkey, exploring themes of madness, the supernatural, and psychological terror.
-
D.
TEA
TEA is the state government agency responsible for overseeing public primary and secondary education in Texas.
-
E.
The Tea
The Tea is an 1880 oil painting by American Impressionist Mary Cassatt that depicts two women in a refined domestic interior, exemplifying her focus on the private lives of women.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
JavaScript assertion library
ⓘ
software library ⓘ |
| canBeUsedIn |
Node.js environment
ⓘ
browser environment ⓘ |
| category |
assertion framework
ⓘ
testing framework component ⓘ |
| compatibleWith |
Jest (via adapters)
ⓘ
Karma ⓘ Mocha NERFINISHED ⓘ Sinon.js NERFINISHED ⓘ test runners for JavaScript ⓘ |
| designedFor |
expressive tests
ⓘ
readable assertions ⓘ |
| documentationUrl | https://www.chaijs.com/ ⓘ |
| ecosystem |
JavaScript testing ecosystem
ⓘ
Node.js ecosystem ⓘ |
| hasFeature |
Node.js support
ⓘ
browser support ⓘ chainable assertions ⓘ custom assertion support ⓘ expressive syntax ⓘ plugin architecture ⓘ |
| hasPlugin |
chai-as-promised
NERFINISHED
ⓘ
chai-http NERFINISHED ⓘ chai-subset NERFINISHED ⓘ chai-things ⓘ |
| license | MIT License ⓘ |
| programmingLanguage | JavaScript ⓘ |
| providesInterface |
assert
ⓘ
expect ⓘ should ⓘ |
| repositoryPlatform | GitHub NERFINISHED ⓘ |
| sourceRepositoryUrl | https://github.com/chaijs/chai ⓘ |
| supports |
asynchronous testing assertions
ⓘ
promises (via plugins) ⓘ |
| supportsAssertionType |
deep equality assertions
ⓘ
equality assertions ⓘ exception assertions ⓘ property assertions ⓘ type checking assertions ⓘ |
| supportsStyle |
BDD
NERFINISHED
ⓘ
TDD ⓘ assert ⓘ |
| typicalImportName | chai ⓘ |
| usedFor |
behavior-driven development
ⓘ
integration testing ⓘ unit testing ⓘ writing test assertions ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: Chai Description of subject: Chai is a popular JavaScript assertion library commonly used in testing frameworks like Mocha to provide expressive, readable test assertions.
Referenced by (2)
Full triples — surface form annotated when it differs from this entity's canonical label.