Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Rename test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewturner committed Nov 3, 2019
1 parent 20b1963 commit 0cd9199
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "1.0.0",
"description": "Core library for controlling legacy thermostats",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "nyc --reporter=html ./node_modules/.bin/mocha --recursive"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ chai.use(require('chai-as-promised'));
const expect = chai.expect;
const sinon = require('sinon');
const Duration = require('durationjs');
const DefaultsService = require('../../src/core/DefaultsService');
const DefaultsService = require('../../core/DefaultsService');
const Mock = require('smartheat-clients/clients/Mock');
const HoldStrategy = require('../../src/core/HoldStrategy');
const Logger = require('../../src/core/Logger');
const HoldStrategy = require('../../core/HoldStrategy');
const Logger = require('../../core/Logger');

const createTarget = () => {
const logger = new Logger();
Expand Down
2 changes: 1 addition & 1 deletion tests/core/LoggerTests.js → test/core/LoggerTests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const sinon = require('sinon');
const Logger = require('../../src/core/Logger');
const Logger = require('../../core/Logger');

const createTarget = (level) => {
const destination = sinon.stub();
Expand Down
4 changes: 2 additions & 2 deletions tests/core/ServiceTests.js → test/core/ServiceTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const chai = require('chai');
chai.use(require('chai-as-promised'));
const expect = chai.expect;
const sinon = require('sinon');
const Service = require('../../src/core/Service');
const Service = require('../../core/Service');
const Mock = require('smartheat-clients/clients/Mock');
const Logger = require('../../src/core/Logger');
const Logger = require('../../core/Logger');

const createTarget = () => {
const logger = new Logger();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ chai.use(require('chai-as-promised'));
const expect = chai.expect;
const sinon = require('sinon');
const Duration = require('durationjs');
const ThermostatService = require('../../src/core/ThermostatService');
const ThermostatService = require('../../core/ThermostatService');
const Mock = require('smartheat-clients/clients/Mock');
const HoldStrategy = require('../../src/core/HoldStrategy');
const SetTemperatureStrategy = require('../../src/core/SetTemperatureStrategy');
const Logger = require('../../src/core/Logger');
const HoldStrategy = require('../../core/HoldStrategy');
const SetTemperatureStrategy = require('../../core/SetTemperatureStrategy');
const Logger = require('../../core/Logger');

const createTarget = () => {
const logger = new Logger();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const chai = require('chai');
chai.use(require('chai-as-promised'));
const expect = chai.expect;
const sinon = require('sinon');
const WaterService = require('../../src/core/WaterService');
const WaterService = require('../../core/WaterService');
const Mock = require('smartheat-clients/clients/Mock');
const Logger = require('../../src/core/Logger');
const Logger = require('../../core/Logger');

const createTarget = () => {
const logger = new Logger();
Expand Down

0 comments on commit 0cd9199

Please sign in to comment.