Rename `ts/test` to `ts/styleguide`

This commit is contained in:
Daniel Gasienica 2018-04-11 16:31:35 -04:00
parent 96c07c6373
commit 55fc21505e
7 changed files with 5 additions and 5 deletions

View File

@ -36,8 +36,8 @@
"release": "npm run release-mac && npm run release-win && npm run release-lin",
"test": "yarn test-node && yarn test-electron",
"test-electron": "yarn grunt test",
"test-node": "mocha --recursive test/app test/modules ts/test-unit",
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test-unit",
"test-node": "mocha --recursive test/app test/modules ts/test",
"test-node-coverage": "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test",
"eslint": "eslint .",
"jscs": "yarn grunt jscs",
"jshint": "yarn grunt jshint",

View File

@ -114,7 +114,7 @@ window.ProxyAgent = require('proxy-agent');
// two locations:
//
// 1) test/styleguide/legacy_bridge.js
// 2) ts/test/StyleGuideUtil.js
// 2) ts/styleguide/StyleGuideUtil.js
window.React = require('react');
window.ReactDOM = require('react-dom');

View File

@ -20,12 +20,12 @@ module.exports = {
{
name: 'Test',
description: 'Components only used for testing',
components: 'ts/test/**/*.tsx',
components: 'ts/styleguide/**/*.tsx',
},
],
context: {
// Exposes necessary utilities in the global scope for all readme code snippets
util: 'ts/test/StyleGuideUtil',
util: 'ts/styleguide/StyleGuideUtil',
},
// We don't want one long, single page
pagePerSection: true,