1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Ivar
2d8fa7ee6b Statefull modules should be injected from top 2016-06-16 14:35:50 +02:00
Ivar
b85d9eb6d6 Start injecting config to app. 2016-06-16 14:27:23 +02:00
ivaosthu
225db218d3 Move all routes to a routes folder 2016-06-16 14:03:49 +02:00
ivaosthu
6cc28ede55 seems like knex 0.11 is more restrict about not using undefined 2016-05-06 11:11:32 +02:00
Anders Olsen Sandvik
f01ef69d7e #108 Add eslint-config-spt and remove jshint (#111)
* #108 Add eslint-config-spt

* #108 Ignore bundle.js file

* #108 Change eslint ignore path to a glob file

* Remove jshint and follow more of eslint rules
2016-04-24 22:41:37 +02:00
ivaosthu
505d6373cd Added archived toggles feature #43 2014-12-17 21:57:38 +01:00
Jari Bakken
e3a44d0a92 Use TEST_DATABASE_URL for running test against a separate DB. 2014-12-12 16:13:06 +01:00
Jari Bakken
ee4800a71c Remove spec for EventStore.
This code is well covered anyway, and the test is causing trouble
since emitting the featureCreated event is causing side effects through
other listeners.
2014-12-12 16:13:06 +01:00
Jari Bakken
c67b73b5b3 Skip API and create test data in the DB directly (since the API is async) 2014-12-12 16:13:06 +01:00
Jari Bakken
e52c1d16fe Begin work on running tests against the database:
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
  through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
  something  better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
  clear data from the currently configured database.
2014-12-12 16:12:56 +01:00
Jari Bakken
c6a7af35c0 Split app and server. No need to start the server for these tests. 2014-12-03 15:23:11 +01:00
Jari Bakken
d89ce75906 Test refactoring:
* reduce setup duplication
* consistent test file names
2014-11-25 14:41:11 +01:00