impunity's People
Forkers
ibeckermayerimpunity's Issues
Count asserts a test does
And show this in report somehow
add flag to show console output for tests that pass
Useful mostly in conjunction with #17
Preserve line numbers in typescript files
Improve flags
--entryPoint should just be an argument, not needing a flag (also its casing is wrong compared to --force-esm)
If test doesn't resolve "in time", it and all the next ones are ignored
If a test is async, and it never resolves, it and all the next ones are ignored in the output, which reports that everything is dandy, just with a lot less tests.
Support async tests
If test method returns Promise, await it
apply hook changes in node 18.6.0
Buffer test output
so we can only show it in case of errors, and also it doesn't mess up the reporter output
Using `export` instead of `import` fails to correctly resolve identifiers.
Hello ๐ ๐
If I write:
import {Builder, RenderFn, AttrValue, Attributes, TemplateView, TemplateBuilder} from "./TemplateView";
All tests pass with no issues. However, if I change this to
export {Builder, RenderFn, AttrValue, Attributes, TemplateView, TemplateBuilder} from "./TemplateView";
(I only switched import
to export
), I get the following error:
import { Builder, RenderFn, AttrValue, Attributes, TemplateView, TemplateBuilder } from "./TemplateView";
^^^^^^^^^
This is particularly baffling because TemplateView
certainly does export AttrValue
.
Got this on Impunity 1.0.1 and Node 16.7.0.
Support different kind of reporters
To integrate into CI, TAP is a widely supported one I think?
Allow multiple entry points
So Hydrogen tests can also look for tests in platform specific code
add flag to only run a certain test
Exit with according exit code in case of failure
use new resolve hook api, as current style gives deprecation warning
see https://nodejs.org/api/esm.html#hooks, need to figure out how this chaining works, but basically we return the format from resolve, put something like this after calling resolveWithEsBuild:
+ if (resolution?.url && forceESM(global.ImportTrackingConfig, resolution.url)) {
+ resolution.format = "module";
+ }
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.