Skip to content

Commit 0b356be

Browse files
committed
annotate any-type test with a bit more information
Just for future debugging reasons!
1 parent 94b8fab commit 0b356be

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/any-type.test.js

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
import { run, html, css } from './util/run'
22

3+
// Hi there, so you are debugging this test because something failed... right? Well we can look into
4+
// the future and guessed that this would happen. So basically it means that we (it was probably
5+
// you, silly) introduced a new plugin that conflicts with an existing plugin that has (either
6+
// implicit or explicit) an `any` type.
7+
//
8+
// Now it is your job to decide which one should win, and mark that one with
9+
// ```diff
10+
// - 'any'
11+
// + ['any', { preferOnConflict: true }]
12+
// ```
13+
// in the corePlugins.js file.
14+
//
15+
// You probably want to let the original one win for backwards compatible reasons.
16+
//
17+
// Good luck!
318
test('any types are set on correct plugins', () => {
419
let config = {
520
content: [

0 commit comments

Comments
 (0)