Comments (2)
diagnosis should be updated. maybe with a replacer
from tape.
Now fixed in 2.7.0, including a test.
var test = require('tape');
test('undef', function (t) {
t.plan(1);
t.deepEqual({}, { beep: undefined });
});
$ node x.js
TAP version 13
# undef
not ok 1 should be equivalent
---
operator: deepEqual
expected: { beep: undefined }
actual: {}
...
1..1
# tests 1
# pass 0
# fail 1
tape is now using object-inspect to perform the inspection instead of JSON.stringify(), which eats keys.
from tape.
Related Issues (20)
- Automatically exclude node-specific packages from browser bundlers HOT 6
- How do I mock an image import? HOT 5
- Are you able to publish a new version of tape? HOT 6
- Feature Request: --no-only flag for tape CLI command HOT 9
- t.comment adds multiple new lines for multi-line strings HOT 9
- Enhancement request: ESM version for testing apps that use custom ES Module Loaders HOT 1
- RFE: Document use with TypeScript HOT 4
- Cannot create a stream then load ESM test modules HOT 9
- Using typescript with esm leads to importOrRequire issue HOT 5
- Looking for a tap reporter HOT 4
- CLI accept multiple directories and execute in order HOT 2
- How do I run single test? HOT 1
- CLI options for IDE integrations. HOT 5
- tests seem to fail on windows. HOT 6
- `.only()` fails with asynchronous tests HOT 13
- Suggestion: Ignore pattern directly instead of pointing to a file? HOT 3
- Upgrade to TAP 14 - support for subtests, maybe indentation? HOT 1
- Tips on how to run a single test HOT 2
- t.true() should be exact. HOT 8
- Async: supported or not? Change docs? HOT 2
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 tape.