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

pull/1/head
Daniel Gasienica 7 years ago
parent 96c07c6373
commit 55fc21505e

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

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

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

Loading…
Cancel
Save