Comments (4)
Thanks, will definitely steal ;)
from atom-perfectionist.
Looks like the testing story is about to improve, so gonna wait on that: atom/atom#8968
from atom-perfectionist.
Alright, sounds good to me.
from atom-perfectionist.
It’s not perfect yet, Atom isn’t easy to work with, but I just got tap working! I’ll try to release something soon :)
package.json
:
{
// ...
"atomTestRunner": "./harness.js",
// ...
}
For test.js
:
/* global atom */
var test = require('tape');
test('testing atom', function (t) {
t.plan(3);
console.log('It works!');
t.ok('loadTime' in atom, '`atom` should have a `loadTime` prop');
t.equal(typeof atom.loadTime, 'number', '`loadTime` should be a number');
t.ok(atom.loadTime < 1000, '`loadTime` should be less than a second');
});
Yields:
from atom-perfectionist.
Related Issues (7)
- Add support for SCSS HOT 3
- Support for configurability HOT 2
- Run on save and/or key command HOT 2
- Run on save HOT 1
- Indent with tabs HOT 3
- TextEditor.get is deprecated. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-perfectionist.