mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Added ecmascript and changed Npm.require to import
This commit is contained in:
committed by
Ben Newman
parent
32a8a707b8
commit
ef2469a54d
@@ -1,3 +1,5 @@
|
||||
import lolex from 'lolex';
|
||||
|
||||
var newConnection = function (stream, options) {
|
||||
// Some of these tests leave outstanding methods with no result yet
|
||||
// returned. This should not block us from re-running tests when sources
|
||||
@@ -96,7 +98,6 @@ Tinytest.add("livedata stub - receive data", function (test) {
|
||||
});
|
||||
|
||||
Tinytest.add("livedata stub - buffering data", function (test) {
|
||||
var lolex = Npm.require('lolex');
|
||||
var stream = new StubStream();
|
||||
|
||||
// Install special setTimeout that lets us control it in tests, courtesy of sinon's lolex
|
||||
|
||||
@@ -49,6 +49,7 @@ Package.onTest(function (api) {
|
||||
api.use('mongo', ['client', 'server']);
|
||||
api.use('test-helpers', ['client', 'server']);
|
||||
api.use([
|
||||
'ecmascript',
|
||||
'underscore',
|
||||
'tinytest',
|
||||
'random',
|
||||
|
||||
Reference in New Issue
Block a user