File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11import axeCore from 'axe-core'
22import debounce from 'lodash.debounce'
3- import { checkAndReport , resetCache } from './utils'
3+ import { checkAndReport , resetCache , resetLastNotification } from './utils'
44import { OPTIONS_DEFAULT } from './constants'
55
66export default function install ( Vue , options ) {
@@ -23,6 +23,7 @@ export default function install (Vue, options) {
2323
2424 if ( forceClear && options . clearConsoleOnUpdate ) {
2525 console . clear ( )
26+ resetLastNotification ( )
2627 }
2728 } ,
2829 debounceAxe : debounce ( function ( ) {
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ export function resetCache () {
5656 cache = { }
5757}
5858
59+ export function resetLastNotification ( ) {
60+ lastNotification = ''
61+ }
62+
5963function createDeferred ( ) {
6064 deferred . promise = new Promise ( ( resolve , reject ) => {
6165 deferred . resolve = resolve
You can’t perform that action at this time.
0 commit comments