@@ -749,6 +749,116 @@ Object {
749
749
750
750
exports [` loader should work with multiple exposes: warnings 1` ] = ` Array []` ;
751
751
752
+ exports [` loader should work with side-effects free modules: errors 1` ] = ` Array []` ;
753
+
754
+ exports [` loader should work with side-effects free modules: module 1` ] = `
755
+ "var ___EXPOSE_LOADER_IMPORT___ = require(\\ "-!./rx.all.js\\ ");
756
+ var ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = require(\\ "../../../src/runtime/getGlobalThis.js\\ ");
757
+ var ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___();
758
+ ___EXPOSE_LOADER_GLOBAL_THIS___[\\ "myGlobal\\ "] = ___EXPOSE_LOADER_IMPORT___;
759
+ module.exports = ___EXPOSE_LOADER_IMPORT___;
760
+ "
761
+ ` ;
762
+
763
+ exports [` loader should work with side-effects free modules: result 1` ] = `
764
+ Object {
765
+ " ExposeLoader" : Object {
766
+ " default" : [Function ],
767
+ },
768
+ " global-commonjs2-single-export" : Object {
769
+ " foo" : " bar" ,
770
+ },
771
+ " myGlobal" : Object {
772
+ " AnonymousObservable" : [Function ],
773
+ " AnonymousObserver" : [Function ],
774
+ " AnonymousSubject" : [Function ],
775
+ " ArgumentOutOfRangeError" : [Function ],
776
+ " AsyncSubject" : [Function ],
777
+ " BehaviorSubject" : [Function ],
778
+ " BinaryDisposable" : [Function ],
779
+ " CompositeDisposable" : [Function ],
780
+ " CompositeError" : [Function ],
781
+ " ConnectableObservable" : [Function ],
782
+ " Disposable" : [Function ],
783
+ " EmptyError" : [Function ],
784
+ " FlatMapObservable" : [Function ],
785
+ " HistoricalScheduler" : [Function ],
786
+ " MockDisposable" : [Function ],
787
+ " NAryDisposable" : [Function ],
788
+ " NotImplementedError" : [Function ],
789
+ " NotSupportedError" : [Function ],
790
+ " Notification" : [Function ],
791
+ " ObjectDisposedError" : [Function ],
792
+ " Observable" : [Function ],
793
+ " ObservableBase" : [Function ],
794
+ " Observer" : [Function ],
795
+ " Pauser" : [Function ],
796
+ " ReactiveTest" : Object {
797
+ " created" : 100 ,
798
+ " disposed" : 1000 ,
799
+ " onCompleted" : [Function ],
800
+ " onError" : [Function ],
801
+ " onNext" : [Function ],
802
+ " subscribe" : [Function ],
803
+ " subscribed" : 200 ,
804
+ },
805
+ " Recorded" : [Function ],
806
+ " RefCountDisposable" : [Function ],
807
+ " ReplaySubject" : [Function ],
808
+ " Scheduler" : [Function ],
809
+ " SerialDisposable" : [Function ],
810
+ " SingleAssignmentDisposable" : [Function ],
811
+ " Subject" : [Function ],
812
+ " Subscription" : [Function ],
813
+ " TestScheduler" : [Function ],
814
+ " TimeoutError" : [Function ],
815
+ " VirtualTimeScheduler" : [Function ],
816
+ " config" : Object {
817
+ " Promise" : [Function ],
818
+ " longStackSupport" : false ,
819
+ " useNativeEvents" : false ,
820
+ },
821
+ " doneEnumerator" : Object {
822
+ " done" : true ,
823
+ " value" : undefined ,
824
+ },
825
+ " helpers" : Object {
826
+ " defaultComparer" : [Function ],
827
+ " defaultError" : [Function ],
828
+ " defaultKeySerializer" : [Function ],
829
+ " defaultNow" : [Function ],
830
+ " defaultSubComparer" : [Function ],
831
+ " identity" : [Function ],
832
+ " isArrayLike" : [Function ],
833
+ " isFunction" : [Function ],
834
+ " isIterable" : [Function ],
835
+ " isPromise" : [Function ],
836
+ " iterator" : Symbol (Symbol .iterator ),
837
+ " noop" : [Function ],
838
+ " notImplemented" : [Function ],
839
+ " notSupported" : [Function ],
840
+ },
841
+ " internals" : Object {
842
+ " AbstractObserver" : [Function ],
843
+ " Enumerable" : [Function ],
844
+ " PriorityQueue" : [Function ],
845
+ " SchedulePeriodicRecursive" : [Function ],
846
+ " ScheduledItem" : [Function ],
847
+ " ScheduledObserver" : [Function ],
848
+ " addProperties" : [Function ],
849
+ " addRef" : [Function ],
850
+ " bindCallback" : [Function ],
851
+ " inherits" : [Function ],
852
+ " isEqual" : [Function ],
853
+ " isObject" : [Function ],
854
+ " tryCatch" : [Function ],
855
+ },
856
+ },
857
+ }
858
+ ` ;
859
+
860
+ exports [` loader should work with side-effects free modules: warnings 1` ] = ` Array []` ;
861
+
752
862
exports [` loader should work: errors 1` ] = ` Array []` ;
753
863
754
864
exports [` loader should work: module 1` ] = `
0 commit comments