Skip to content

Commit 3ce03aa

Browse files
committed
typescript
1 parent 682e3f3 commit 3ce03aa

File tree

2 files changed

+46
-55
lines changed

2 files changed

+46
-55
lines changed

package-lock.json

Lines changed: 45 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ns/src/index.test.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('ns', function () {
6363
false,
6464
);
6565
});
66-
it('should not accept `prefix__mdb_internal_suffix`', function () {
66+
it('should not accept `prefix__mdb_internal_`', function () {
6767
assert.equal(ns('prefix__mdb_internal_').special, false);
6868
});
6969
it('should acccept `__mdb_internal_suffix`', function () {
@@ -133,15 +133,6 @@ describe('ns', function () {
133133
});
134134

135135
describe('collection name validation', function () {
136-
it('should accept `a.b` as valid', function () {
137-
assert.equal(ns('a.b').validCollectionName, true);
138-
});
139-
it('should accept `a.b` as valid', function () {
140-
assert.equal(ns('a.b').validCollectionName, true);
141-
});
142-
it('should accept `a.b.` as valid', function () {
143-
assert.equal(ns('a.b.').validCollectionName, true);
144-
});
145136
it('should accept `a.b` as valid', function () {
146137
assert.equal(ns('a.b').validCollectionName, true);
147138
});

0 commit comments

Comments
 (0)