Skip to content

Commit

Permalink
Update testing application
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Jan 14, 2024
1 parent 72ae5fe commit 5e2f506
Show file tree
Hide file tree
Showing 15 changed files with 191 additions and 476 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/markdown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/meteor-schema-index.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package/indexing/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Package.describe({
});

Package.onUse(function(api) {
api.versionsFrom(["1.12.1", "2.3.6", "2.8.1"]);
api.versionsFrom(["2.8.1", '3.0-beta.0']);
api.use("ecmascript");
api.use([
'aldeed:[email protected].6',
'aldeed:[email protected].7',
'aldeed:[email protected]',
]);

Expand Down
4 changes: 2 additions & 2 deletions tests/.meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ [email protected] # Allow all DB writes from clients (for prototypin

[email protected]
[email protected]
aldeed:schema-index@4.0.0
aldeed:schema-index
[email protected]
meteortesting:mocha
aldeed:collection2@3.2.1
aldeed:collection2@4.0.0-beta.7
36 changes: 18 additions & 18 deletions tests/.meteor/versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aldeed:[email protected].6
aldeed:[email protected].7
aldeed:[email protected]
aldeed:[email protected]
[email protected]
Expand All @@ -8,12 +8,12 @@ [email protected]
[email protected]
[email protected]
[email protected]
blaze@2.7.1
blaze-html-templates@1.1.2
[email protected].0
blaze@2.8.0
blaze-html-templates@1.2.1
[email protected].4
[email protected]
[email protected]
[email protected].0
[email protected].2
[email protected]
[email protected]
[email protected]
Expand All @@ -31,20 +31,20 @@ [email protected]
[email protected]
[email protected]
[email protected]
[email protected].0
htmljs@1.1.1
http@1.0.10
[email protected].4
htmljs@1.2.0
http@2.0.0
[email protected]
[email protected]
[email protected]
[email protected].10
[email protected].11
[email protected]
[email protected]
[email protected]
[email protected]
meteortesting:browser-tests@1.4.2
meteortesting:browser-tests@1.5.3
meteortesting:[email protected]
meteortesting:mocha-core@8.0.1
meteortesting:mocha-core@8.1.2
[email protected]
[email protected]
[email protected]
Expand All @@ -58,7 +58,7 @@ [email protected]
[email protected]
[email protected]
[email protected]
[email protected].16
[email protected].22
[email protected]
[email protected]
raix:[email protected]
Expand All @@ -70,14 +70,14 @@ [email protected]
[email protected]
[email protected]
[email protected]
spacebars@1.3.0
spacebars-compiler@1.2.0
spacebars@1.5.0
spacebars-compiler@1.3.2
[email protected]
[email protected]
[email protected].2
[email protected].1
[email protected].0
[email protected].0
[email protected].3
[email protected].2
[email protected].4
[email protected].3
[email protected]
[email protected]
[email protected]
Expand Down
4 changes: 2 additions & 2 deletions tests/indexing.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ test.attachSchema(new SimpleSchema({
// Add one unique index outside of C2
if (Meteor.isServer) {
try {
test._dropIndex({ field1: 1, field2: 1 });
await test.dropIndexAsync({ field1: 1, field2: 1 });
} catch (error) {
// ignore
}
test._ensureIndex({ field1: 1, field2: 1 }, { unique: true, sparse: true });
test.createIndexAsync({ field1: 1, field2: 1 }, { unique: true, sparse: true });
}

describe('unique', () => {
Expand Down
Loading

0 comments on commit 5e2f506

Please sign in to comment.