Skip to content

Commit 6525ead

Browse files
author
damccorm
authored
Stopping tests from automatically generating .js files (#231)
* Fixing issue with auto generated files * Forgot test file * Cleaning up
1 parent 3e87a80 commit 6525ead

5 files changed

Lines changed: 22 additions & 14 deletions

File tree

make.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ var rp = function(relPath) {
77
}
88

99
var buildPath = path.join(__dirname, '_build');
10-
var testPath = path.join(__dirname, '_test');
1110

1211
var run = function(cl) {
1312
console.log('> ' + cl);
@@ -20,7 +19,6 @@ var run = function(cl) {
2019

2120
target.clean = function() {
2221
rm('-Rf', buildPath);
23-
rm('-Rf', testPath);
2422
};
2523

2624
target.build = function() {

package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/units/tests.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import assert = require('assert');
22
import fs = require('fs');
33
import nock = require('nock');
44
import os = require('os');
5-
import vsom = require('../../api/VsoClient');
6-
import WebApi = require('../../api/WebApi');
7-
import * as rm from 'typed-rest-client/RestClient';
8-
import { ApiResourceLocation } from '../../api/interfaces/common/VsoBaseInterfaces';
5+
import vsom = require('../../_build/VsoClient');
6+
import WebApi = require('../../_build/WebApi');
7+
import * as rm from '../../_build/node_modules/typed-rest-client/RestClient';
8+
import { ApiResourceLocation } from '../../_build/interfaces/common/VsoBaseInterfaces';
99

1010
describe('VSOClient Units', function () {
1111
let rest: rm.RestClient;

test/units/tsconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)