Skip to content

Commit

Permalink
annotate any-type test with a bit more information
Browse files Browse the repository at this point in the history
Just for future debugging reasons!
  • Loading branch information
RobinMalfait committed Sep 29, 2022
1 parent 94b8fab commit 0b356be
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/any-type.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
import { run, html, css } from './util/run'

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

0 comments on commit 0b356be

Please sign in to comment.