Skip to content

Commit e41f5ad

Browse files
author
Dobromir Hristov
committed
chore: fix eslint issue
1 parent 156bc0f commit e41f5ad

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/constants/CardSize.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
/**
2+
* This source file is part of the Swift.org open source project
3+
*
4+
* Copyright (c) 2022 Apple Inc. and the Swift project authors
5+
* Licensed under Apache License v2.0 with Runtime Library Exception
6+
*
7+
* See https://swift.org/LICENSE.txt for license information
8+
* See https://swift.org/CONTRIBUTORS.txt for Swift project authors
9+
*/
10+
111
export default {
212
small: 'small',
313
large: 'large',

tests/unit/components/Card.spec.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* See https://swift.org/LICENSE.txt for license information
88
* See https://swift.org/CONTRIBUTORS.txt for Swift project authors
9-
*/
9+
*/
1010

1111
import { shallowMount } from '@vue/test-utils';
1212
import Card from 'docc-render/components/Card.vue';
@@ -24,11 +24,6 @@ describe('Card', () => {
2424
identifier: 'identifier',
2525
};
2626

27-
const abstract = [{
28-
type: 'text',
29-
text: 'Abstract',
30-
}];
31-
3227
const references = {
3328
[image.identifier]: {
3429
variants: [{ url: 'image.com', traits: ['1x'] }],

0 commit comments

Comments
 (0)