+// get references from mkws.js, lazy evaluation
+var debug = function (text) {
+ mkws.debug_function(text)
+ }
+
+
+var jasmine_config = {};
+
+/* check config for jasmine test
+ *
+ * you can override the default values in the config
+ * object: jasmine_config = {};
+ *
+ */
+beforeEach(function () {
+
+ var jasmine_config_default = {
+ search_query: "freebsd",
+ max_time: 16,
+ // in seconds
+ expected_hits: 80,
+ // at least expected hit counter
+ second: 1000,
+ // miliseconds to seconds
+ show_record_url: true,
+ // check for valid URL in records
+ dummy: false
+ };
+
+ // use default values for undefined values
+ for (var key in jasmine_config_default) {
+ if (!jasmine_config.hasOwnProperty(key)) {
+ jasmine_config[key] = jasmine_config_default[key];
+ }
+ }
+});