We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mongoosejs
Learn more about funding links in repositories.
Report abuse
1 parent 8b152e3 commit a85adb9Copy full SHA for a85adb9
test/typescript/main.test.js
@@ -31,15 +31,6 @@ describe('typescript syntax', function() {
31
assert.equal(errors.length, 0);
32
});
33
34
- it('reports error on invalid getter syntax', function() {
35
- const errors = runTest('schemaGettersSetters.ts');
36
- if (process.env.D && errors.length) {
37
- console.log(errors);
38
- }
39
- assert.equal(errors.length, 1);
40
- assert.ok(errors[0].messageText.messageText.includes('incorrect: number'), errors[0].messageText.messageText);
41
- });
42
-
43
it('handles maps', function() {
44
const errors = runTest('maps.ts');
45
if (process.env.D && errors.length) {
test/typescript/schemaGettersSetters.ts
0 commit comments